in reply to Re: how to troubleshoot a http::request 404 problem
in thread how to troubleshoot a http::request 404 problem

First of all, thanks for your answer, however, my result with your code is:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /wetter/wetter.txt was not found on this server.< +/p> <hr> <address>Apache/2.2.3 (CentOS) Server at www.peng.es Port 80</address> </body></html>

Strange, no?

Replies are listed 'Best First'.
Re^3: how to troubleshoot a http::request 404 problem
by lexthoonen (Initiate) on Feb 23, 2011 at 08:38 UTC

    hmmm, that makes me think (at last...). I'll report back.

      well thanks to all of you, I now know the real problem wasn't in the code. It's a server thing; if i ping www.peng.es from the server that runs that piece of code, I get:

      ping www.peng.es
      PING www.peng.es.nl (212.78.185.192) 56(84) bytes of data.

      well, that peng.es.nl is weird and the ip is wrong too: should be 213.171.223.35

      So, I now know I look into that direction.

      Thanks, to all of you!