In this Content-Length = 239 as per the variable.Are you sure? content_length() may return 239 in scalar context, but you're calling it in list context.
You've only provided a snippet of the code, so I don't know what $self is, but I would check $http->header('Content-length') after constructing the HTTP::Request object, to see what value it has stored in Content-length
Clint
In reply to Re: Content-Length for HTTP Header.
by clinton
in thread Content-Length for HTTP Header.
by Sham
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |