2

I want to compress my HTTP request before sending it in java. how to do please ? I'm using JBoss4.2 as a Server

Marouane Gazanayi
  • 5,063
  • 6
  • 39
  • 58

1 Answers1

5

I guess you mean "response". See here on how to do it - you have to enable GZIP compression.

Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
  • Hey, thnx for your answer :) I'm sending a big string to a CGI (in delphi) that will put it in the database, so I think if I compress it will be faster, but will CGI understand the compressed request ??? – Marouane Gazanayi Jul 30 '10 at 10:00
  • Surely he does mean request? And the link above is broken. – barkside Nov 07 '12 at 08:46