468,557 Members | 2,262 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,557 developers. It's quick & easy.

urllib en https

I have a strange problem. I wrote a script that uses urllib.urlopen to fetch
a page through https. In Python 2.2.2 this works without a problem. But
when I use the script in Python I get:

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.4/urllib.py", line 79, in urlopen
return opener.open(url, data)
File "/usr/local/lib/python2.4/urllib.py", line 177, in open
return self.open_unknown(fullurl, data)
File "/usr/local/lib/python2.4/urllib.py", line 189, in open_unknown
raise IOError, ('url error', 'unknown url type', type)
IOError: [Errno url error] unknown url type: 'https'

What is happening here? And how can I solve this?

Sep 13 '06 #1
0 1194

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gary Feldman | last post: by
3 posts views Thread by Volker M. | last post: by
1 post views Thread by John Hunter | last post: by
reply views Thread by Ali.Sabil | last post: by
5 posts views Thread by Cecil Westerhof | last post: by
1 post views Thread by brad | last post: by
3 posts views Thread by Fredrik Lundh | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.