Home > Net >  HTTP request returns response headers
HTTP request returns response headers

Time:09-22

After send HTTP get request, the response returned head could not handle the error
System.Net.WebException: "Received an invalid header name: 'text/javascript;
'."

CodePudding user response:

Try to return text/json

CodePudding user response:

What do you look at your request header is? Then set into a corresponding,
  •  Tags:  
  • C#
  • Related