System.Net.WebClient does not return data when receiving an HTTP 500 status - by Ronald Rink

Status : 

 


1
0
Sign in
to vote
ID 786972 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 5/15/2013 7:05:23 AM
Access Restriction Public

Description

When using System.Net.WebClient and the Server responds with an HTTP 500 Status code the WebClient throws an exception and does not return the data sent by the server to the caller.
This issue always occurs at least until .NET v4.0.

As a side note: this behaviour actually violates the SHOULD recommendation of RFC 2616 #10.5.
Sign in to post a comment.