What form data can be GZIP'd?
Posted: Wed Oct 18, 2006 11:10 am
I would like to send info from a non-browser based device using http using POST. Because of limitations on the device I need to compress the data I send.
I find if I use POST data format of multipart/form-data to send the data I can have the data automatically go into PHP variables on the server side.
I ahve this working well for uncompressed data but I am not sure what the protocol is for compressed data.
After which header do I start to compress the data:
Content-Type: multipart/form-data
Content-Disposition: data
Content-Transfer-Encoding: binary
If anyone knows where this might be documented please let me know.
Thanks
Greg
I find if I use POST data format of multipart/form-data to send the data I can have the data automatically go into PHP variables on the server side.
I ahve this working well for uncompressed data but I am not sure what the protocol is for compressed data.
After which header do I start to compress the data:
Content-Type: multipart/form-data
Content-Disposition: data
Content-Transfer-Encoding: binary
If anyone knows where this might be documented please let me know.
Thanks
Greg