lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Content-Type in httpd_structs.h


From: Simon Goldschmidt
Subject: Re: [lwip-devel] Content-Type in httpd_structs.h
Date: Wed, 12 Apr 2017 15:20:59 +0200

Fabien Jambois wrote:
> Now, I'd like to support File caching with "Last-Modified: ..." and 
> "Cache-Control: max-age=sec", in HTTP header of the response.
> [..]
> How can we do that without modifying the core of httpd code?
> Is there any API for that purpose, I missed?

You can't do that with the current httpd code. There is no API to insert custom 
header fields. But that could of course be done.
The question is if we can define a good API or rather leave it open to insert 
any header you want...


Simon



reply via email to

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