lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Re: http server unzip


From: Eric Haver
Subject: Re: [lwip-users] Re: http server unzip
Date: Thu, 6 May 2010 12:24:49 -0400



On Thu, May 6, 2010 at 9:06 AM, Wilson, Dave (Stellaris S/W) <address@hidden> wrote:

I rather like this idea and reckon it could be a big help especially in controlled environments where you can be sure that the browsers used to connect to your device will support “Accept-Encoding: gzip”. If this is the case, using the HTTPD server updates I passed to Simon recently, you could merely add pre-compressed .gz files to your file system image and make a small modification to httpd.c to ensure that any file with extension “.gz” is sent with the “Content-Encoding: gzip” header. This would mean that the device-side code didn’t ever have to unzip the files.



Hi All,

I have a useful mod:

When the server asks for "*.???" httpd checks to see if "*.??Z" exists, and if so, changes the header and sends it.

simple.

*E


reply via email to

[Prev in Thread] Current Thread [Next in Thread]