Custom response codes and content-types for memcache module

Spil Games lists at ruby-forum.com
Tue Jul 22 15:29:51 MSD 2008


Igor Sysoev wrote:
> I planned to add usual headers in memcached and mark them using flag.
> 
> --------------
> HTTP/1.0 200 OK
> Content-Type: application/xml; charset=UTF8
> 
> <html><body>...
> --------------
> 
> The flag probaly may be omitted, then nginx will look for "HTTP/" line
> in response and treat the response as HTTP/0.9 (simple body) if
> it has no "HTTP/".


That sounds very good! Any short-term plans for this?
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list