Is content-length required? got added and enforced recently for POST ? How can I remove the check ?
{"fault":{"faultstring":"Content-Length is missing","detail":{"errorcode":"messaging.adaptors.http.flow.LengthRequired"}}}
yes, clients must specify content-length in a POST or PUT request, or they must use transfer-encoding:chunked.
One of content-length or transfer-encoding:chunked should be present. For more see the HTTP spec, section 4.4.
Section 4.4 does include the caveat 'when a message-body is included'. I found the prohibition for HEAD responses to contain a message-body, but 9.5 and 9.6 show no indication of the requirement for a request body.
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |