Proxying POST body through Varnish

Tollef Fog Heen tfheen at varnish-software.com
Mon Apr 19 08:11:51 CEST 2010


]] Paul Carey 

| I'd like Varnish to cache these requests. My VCL config defines
| vcl_recv and doesn't 'pass' on POSTs that match _all_docs. However,
| CouchDB doesn't like the POST requests proxied through Varnish,
| returning an error message stating 'invalid UTF-8 JSON'. I suspect
| Varnish is stripping the POST body. I say this because when I run
| varnishlog I see a Rx Content-Length header received by Varnish but
| not a corresponding Tx header proxied to CouchDB.
| 
| If it's likely that this is what's happening, is there any many to get
| Varnish to pass the POST body along?

Short answer: No, there isn't.

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 54 41 73




More information about the varnish-misc mailing list