3 references to net_http_request_content_length_mismatch
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\ContentLengthWriteStream.cs (1)
55
return Task.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new HttpRequestException(SR.Format(SR.
net_http_request_content_length_mismatch
, BytesWritten, _contentLength))));
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
232
throw new HttpRequestException(SR.Format(SR.
net_http_request_content_length_mismatch
, writeStream.BytesWritten, writeStream.ContentLength));
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
496
throw new HttpRequestException(SR.Format(SR.
net_http_request_content_length_mismatch
, sent, contentLength));