NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

DELETE requests without Content-Length header is not processed

Open pawi-cmrg opened this issue 6 years ago • 1 comments

When sending a DELETE request without a body, the request is not processed (i.e. OnReceivedRequest not called) if not explicitly setting a Content-Length header value to zero.

pawi-cmrg avatar Jul 06 '20 08:07 pawi-cmrg

If no Content-Length is provided in DELETE request, then at least "\r\n\r\n" should be provided at the end to detect end of request.

chronoxor avatar Jan 09 '22 00:01 chronoxor