Compressing GET

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm using a GPRS modem to upload data from a serial device to a web
server. I've successfully opened an IP socket to do an HTTP GET etc.

Due to the GPRS data charges I need to send as LITTLE data as possible
when uploading.

Here is an example the ASCII characters I will send through the socket:

GET /leave.aspx?d=3D123SADF2K253K345=ADL45345ERTS6ETC HTTP/1.1
User-Agent: Mozilla/4.0

Is this the minimal communication using a web server?
Do I need all 3 lines?
Any ideas for shrinking this data?=20

Many thanks,=20


Re: Compressing GET

On Sat, 23 Jul 2005 16:01:51 -0700, Jim wrote:

Quoted text here. Click to load it

Requests don't *need* the user-agent information, but many stupid websites
do.  You *do* need the hostname and resource request in the GET command,

I'd imagine you'd have more overhead with networking protocols
(handshaking, etc., on data as it passes through) than the request.

If you insist on e-mailing me, use the reply-to address (it's real but
temporary).  But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.

Site Timeline