You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a sidenote: RequestTest::testType() only seems to pass on Apache webservers. It returns nothing ('' instead of 'html') on for example IIS and Nginx (probably all other webservers?).
Parsing an HTTP
Response
with aContent-Type=application/json
should store the responsetype
asapplication/json
.Instead,
Response->type = text/html
(default constructed value)and, parsing a
Content-Type=application/json;charset=utf-8
works perfectly.The text was updated successfully, but these errors were encountered: