Re: Changing the HTTP response code in a proxy response

2009-05-24 Thread Toby Collett
Hi, Thanks heaps, I have got that working now. The status string seems to need to start with the return code (not the version) and need to use the return code, r->status = 226; r->status_line = "226 IM Used"; return OK; Toby 2009/5/24 Sorin Manolache > On Sun, May 24, 2009 at 11:53, Toby Colle

Re: Changing the HTTP response code in a proxy response

2009-05-24 Thread Sorin Manolache
On Sun, May 24, 2009 at 11:53, Toby Collett wrote: > Hi all, > I am writing a proxy module that supports a custom extension to the mostly > unimplemented 'Delta coding' RFC. The original standard uses a 226 http > status code for its responses to help deal with HTTP 1.0 web caches > (although this

Re: Fwd: persistent data : common/best practices

2009-05-24 Thread Jérôme Renard
Hi Nick, Nick Kew a écrit : [seems to be lost in the ether] Begin forwarded message: From: Nick Kew Date: 23 May 2009 22:12:14 BDT To: modules-dev@httpd.apache.org Subject: Re: persistent data : common/best practices On Sat, 23 May 2009 21:07:05 +0200 Jérôme Renard wrote: I thought about

Re: persistent data : common/best practices

2009-05-24 Thread Jérôme Renard
Hi Joe, j...@joe-lewis.com a écrit : My use case is actually the following : - I have to fetch a few rows in a specific table (around 10 rows) but I do not want to fetch these rows for every request as I know they will not change often (but I can not use a configuration file here). I tho

Changing the HTTP response code in a proxy response

2009-05-24 Thread Toby Collett
Hi all, I am writing a proxy module that supports a custom extension to the mostly unimplemented 'Delta coding' RFC. The original standard uses a 226 http status code for its responses to help deal with HTTP 1.0 web caches (although this does not completely solve the caching problem). To be compat

Fwd: persistent data : common/best practices

2009-05-24 Thread Nick Kew
[seems to be lost in the ether] Begin forwarded message: From: Nick Kew Date: 23 May 2009 22:12:14 BDT To: modules-dev@httpd.apache.org Subject: Re: persistent data : common/best practices On Sat, 23 May 2009 21:07:05 +0200 Jérôme Renard wrote: I thought about "caching" the result of this