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
  • 4,913
  • 6
  • 37
  • 56

1 Answers1

5

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

Bozho
  • 572,413
  • 138
  • 1,043
  • 1,132
  • 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