Skip to content

Should I explicitly not send response body for HEAD requests? #2286

Answered by NinoM4ster
NinoM4ster asked this question in Q&A
Discussion options

You must be logged in to vote

I've included the ${bytes_out} tag in my logging format and it seems Echo in fact does not implicitly filter out the response body:

No filtering: 26 bytes_out
With filtering: 0 bytes_out

So I should definitely filter it out. Good to know!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NinoM4ster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant