Add "Content-Length: 0" to requests with a Content-Type but no body
Some servers get annoyed if a POST/PUT declares a Content-Type but contains no body, so make sure to send a 0-length body (which is different) instead.
parent
e636754a
Please register or sign in to comment