I was expecting this code to return a 404, however it produces the output :
\"Response code is 200\"
Would it be possible to learn how to differentiate between e
Like @spgennard - I think this is most likely a DNS issue.
It is also possible that you are accessing the web via a proxy, and the proxy is doing something strange.
The way to diagnose this is to look at the other information in the HTTP responses you are getting, particularly the response body.