Content-Length header set to 0 when post is empty

Some webservers were not accepting the request without the header