Hi
the following code
* import urllib
urllib.urlopen("http://wordsmith.org/words/today.html"<http://wordsmith.org/words/today.html>
)
_.read()
*
yields the output :
*<!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 /words/today.html was not found on this server.</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.7 with Suhosin-Patch
mod_ssl/2.2.14 OpenSSL/0.9.8k Server at wordsmith.org Port 80</address>
</body></html>
*
but when I open the page http://wordsmith.org/words/today.html in the
browser, the page is different. My http_proxy environment variable is also
set. So what could be the reason behind this?
--
Rajat Khandelwal
SD 39 Satpura Hostel
B.Tech. Comp. Sc. & Engg. 2nd year
IIT Delhi
--
LUG@IITD - http://lug-iitd.org/Footer