YAHC would wait indefinitely/until request_timeout for payload when
using the HEAD method instead of jumping to the USER ACTION state after
the headers have been successfully read.
The check for $conn->{request}{method} existence needed as the client
needn't provide a method (defaulting to GET when making the actual
HTTP request).
YAHC would wait indefinitely/until request_timeout for payload when using the HEAD method instead of jumping to the USER ACTION state after the headers have been successfully read.
The check for $conn->{request}{method} existence needed as the client needn't provide a method (defaulting to GET when making the actual HTTP request).