HTTP requests: improve error message, info
post_info: send Content-Length header