varnish: Alter response body

Posted by soulmerge on Server Fault See other posts from Server Fault or by soulmerge
Published on 2010-05-03T11:41:13Z Indexed on 2010/05/03 11:49 UTC
Read the original article Hit count: 282

Filed under:

I need to rewrite the response received by the backend in varnish. The C-function is ready, embedded in the configuration file, and passes tests run on response headers. But I need to access the body of the response. I couldn't find a way to extract that from the response struct, though. Does anyone have an idea how I could extract it anyway?

© Server Fault or respective owner

Related posts about varnish