What form data can be GZIP'd?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
gmrobert
Forum Newbie
Posts: 22
Joined: Wed Oct 04, 2006 9:07 am

What form data can be GZIP'd?

Post by gmrobert »

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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
gmrobert
Forum Newbie
Posts: 22
Joined: Wed Oct 04, 2006 9:07 am

Post by gmrobert »

Sorry ... was not sure which forum the question belonged in.


Greg
Post Reply