Re: Varnish vs. X-JSON header

2008-03-28 Thread Florian Engelhardt
On Fri, 28 Mar 2008 06:27:22 +0100 Stig Sandbeck Mathisen [EMAIL PROTECTED] wrote: On Thu, 27 Mar 2008 15:55:09 +0100, Florian Engelhardt [EMAIL PROTECTED] said: Why is this X-JSON header missing when requested via varnish? It would help if you include output from varnishlog which shows

Re: Varnish vs. X-JSON header

2008-03-28 Thread Stig Sandbeck Mathisen
On Fri, 28 Mar 2008 08:15:59 +0100, Florian Engelhardt [EMAIL PROTECTED] said: Received from backend. 15 RxHeader b X-JSON: foobar Varnish object contains the header. 14 ObjHeaderc X-JSON: foobar Sent to client. 14 TxHeader c X-JSON: foobar Lost on the way :P Hehe,

Re: Varnish vs. X-JSON header

2008-03-28 Thread Florian Engelhardt
On Fri, 28 Mar 2008 10:41:43 +0100 Stig Sandbeck Mathisen [EMAIL PROTECTED] wrote: On Fri, 28 Mar 2008 08:15:59 +0100, Florian Engelhardt [EMAIL PROTECTED] said: Received from backend. 15 RxHeader b X-JSON: foobar Varnish object contains the header. 14 ObjHeaderc

Varnish vs. X-JSON header

2008-03-27 Thread Florian Engelhardt
Hello, i've got a problem with the X-JSON HTTP-Header not beeing delivered by varnish in pipe and pass mode. My application runs on PHP with lighttpd, when querying the lighty direct (via port :81), the header is present in the request. PHP Script is as follows: ?php header('X-JSON: foobar');

Re: Varnish vs. X-JSON header

2008-03-27 Thread Michael S. Fischer
The Transfer-Encoding: header is missing from the Varnish response as well. --Michael On Thu, Mar 27, 2008 at 7:55 AM, Florian Engelhardt [EMAIL PROTECTED] wrote: Hello, i've got a problem with the X-JSON HTTP-Header not beeing delivered by varnish in pipe and pass mode. My application

Re: Varnish vs. X-JSON header

2008-03-27 Thread Stig Sandbeck Mathisen
On Thu, 27 Mar 2008 15:55:09 +0100, Florian Engelhardt [EMAIL PROTECTED] said: Why is this X-JSON header missing when requested via varnish? It would help if you include output from varnishlog which shows both the client and the backend communication from one request. That'll provide