[Mod_gzip] Mod_gzip not able to handle POST method
martin sepulveda
mod_gzip@lists.over.net
Fri, 17 Jan 2003 15:28:43 +0100
are you sure the browser is sending a Accept-Encoding header along with the POST?
if not so that would be the correct behaviour
m.
On Fri, 17 Jan 2003 19:53:28 +0530
sudhir.rao@st.com wrote:
> hi All,
>
> I would like to compress the data dished out by POST method.
>
> Mod_gzip version :- mod_gzip1.3.26.1a
> ----------------
>
> HTTPD.conf file contents :-
> ------------------------
> <IfModule mod_gzip.c>
> mod_gzip_on Yes
> mod_gzip_can_negotiate Yes
> #mod_gzip_static_suffix .gz
> AddEncoding gzip .gz
> mod_gzip_command_version show_me_the_version_number
> mod_gzip_handle_methods GET POST
> #mod_gzip_update_static No
> mod_gzip_keep_workfiles No
> mod_gzip_minimum_file_size 1
> mod_gzip_maximum_file_size 500000
> mod_gzip_maximum_inmem_size 60000
> mod_gzip_min_http 1000
> mod_gzip_item_include file .*
> mod_gzip_item_include uri /servlet*
>
>
>
> Compression works fine for GET method - it displays the following
> message for POST method :
> -----------------------------------------------------------------
> 202.1.150.214 - - [17/Jan/2003:19:37:12 +0530] "POST
> /arsys/servlet/WorkflowServlet HTTP/1.1" 200 30 "-" "Mozilla/4.0
> (compatible; MSIE 6.0; Win32)" mod_gzip: DECLIN
> ED:NO_ACCEPT_ENCODING In:0 Out:0:0pct.
> 202.1.150.214 - - [17/Jan/2003:19:37:12 +0530] "POST
> /arsys/servlet/WorkflowServlet HTTP/1.1" 200 30 "-" "Mozilla/4.0
> (compatible; MSIE 6.0; Win32)" mod_gzip: DECLIN
> ED:NO_ACCEPT_ENCODING In:0 Out:0:0pct.
>
>
> The theoretical meaning of 'mod_gzip: DECLINED:NO_ACCEPT_ENCODING'
> means that the request doesn't contain an Accept-Encoding header -
> obviously this UserAgent doesn't understand gzip-compressed data.
>
> My Question :- if UserAgent doesn't understand gzip-compressed data ,
> then how come the UserAgent understands gzip-compressed data for GET
> method.
>
> Appreciate all help.
>
> regards,
> Sudhir Rao
> ST Microelectronics LTD.
> Noida INDIA
--
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in. We're computer professionals. We cause accidents.
---Nathaniel Borenstein, inventor of MIME.