![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveurllib2 problem/bug: Request.add_header does() nothing?
From: <kelio@yandex.ru>
Date: Mon Jul 25 2005 - 18:35:07 CEST
I have a simple cgi-script on a server that prints all key-value pairs
What is wrong about it? It's hard to believe there's a bug nobody's
I've also tried to make a request using urllib (without 2) sending
Thanks for help!
elio.
#!/usr/bin/python
import urllib2
request = urllib2.Request(r"http://server/cgi-bin/test")
reply = urllib2.urlopen(request).readlines()
for i in reply:
|