Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Invalid "response body truncated" warning for HEAD requests #1

Closed
PiotrSikora opened this Issue · 3 comments

2 participants

@PiotrSikora

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.

@agentzh
Owner
@agentzh agentzh referenced this issue from a commit
@agentzh agentzh bugfix: the "response body truncated" warning was a false alarm for H…
…EAD requests. thanks Piotr Sikora for reporting this in github issue #1.
82954f2
@agentzh
Owner

Sorry for the delay! Already fixed and the test suite of ngx_postgres is now passing without any warnings :)

@agentzh agentzh closed this
@PiotrSikora

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.