(Forgive me if I'm doing this wrong, I haven't used this mailing list before)

Jesper;
I ran into the same issue and worked around it for now by making a
small modification to the referenced Methods.pm:
At line 442, right after:
               elsif ($_ eq "identity") {
                   $_ = sub { $_[0] };
               }
Add:
               elsif ($_ eq "chunked") {
                       pop(@te);
                       #Workaround for multiple chunked entries
               }
Much better perl programmers will probably tell me there's a
better/cleaner way to do this (my method may well break the encoding
handler for complex scenarios with multiple copies of "chunked" mixed
in with other types) but it works well enough for me to continue
developing/testing my current app until the dev responsible for the
bug in the web app I'm coding against fixes his side of things to
prevent the doubled chunk encoding in the first place.

Reply via email to