[Modify] Polish it

master
sta 8 years ago
parent 81afcde357
commit 40a4cdc289

@ -590,7 +590,7 @@ namespace WebSocketSharp.Net
_chunked = true;
}
if (!_chunked && !_contentLengthSet) {
if (_contentLength == -1 && !_chunked) {
if (_method == "POST" || _method == "PUT") {
_context.ErrorMessage = String.Empty;
_context.ErrorStatus = 411;

Loading…
Cancel
Save