Trouble with caching POSTs (using 4.1 & libvmod-bodyaccess)
Lee Trout
lee at leetrout.com
Thu Jan 28 18:01:20 CET 2016
Hey everyone. Big thanks to Arianna for the quick fix on the bodyaccess
vmod.
Unfortunately I'm still not seeing varnish sending the original body with
the request.
Varnish is sending:
POST /lee/models/HelloWorld/ HTTP/1.1
Authorization: Basic bGVlOmU0YjFjMTAyZTI1YmYyNjk2Njk1NzRkMjE2MDlhMGZm
Host: 127.0.0.1:12080
User-Agent: Paw/2.2.9 (Macintosh; OS X/10.11.3) GCDHTTPRequest
X-Forwarded-For: 10.0.2.2
x-meth: POST
Accept-Encoding: gzip
X-Varnish: 3
I'm assuming at this point this just isn't doable.
Has anyone successfully cached a POST request?
On Wed, Jan 27, 2016 at 8:36 AM, Lee Trout <lee at leetrout.com> wrote:
> Yes I did. I checked out 4.1 and did make clean and then reconfigured and
> ran make again and make install again. No issues.
>
>
> On Wednesday, January 27, 2016, Andreas Plesner <apj at mutt.dk> wrote:
>
>> On Wed, Jan 27, 2016 at 01:29:59AM -0500, Lee Trout wrote:
>> >
>> > So I moved on to 4.1 and rebuilt libvmod-bodyaccess but unfortunately
>> now
>> > I'm just seeing a crash so I'm sure I've done something silly.
>>
>> Did you use the 4.1 branch of the vmod?
>>
>> --
>> Andreas
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>
> --
> Sorry I fat thumbed this on an iPhone
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160128/aa83dddc/attachment.html>
More information about the varnish-misc
mailing list