agentzh/test-nginx — Issue #1: Invalid "response body truncated" warning for HEAD requests
Author: PiotrSikora
Created: 2011-11-10 07:52:12+00:00
State: open

`file: lib/Test/Nginx/Socket.pm line: 789`

It seems that the warning code misses special case for HEAD requests, something like:

(length $raw == 0 && $method eq 'HEAD')

I've tried to fix this myself, but my Perl-fu fail me on how to get the original request method.