LWN.net Logo

What is to replace Perl then?

What is to replace Perl then?

Posted Dec 4, 2008 1:49 UTC (Thu) by jamesh (guest, #1159)
In reply to: What is to replace Perl then? by jwb
Parent article: On the future of Perl 5

It probably isn't very helpful to you, but the RFC for HTTP URLs doesn't actually allow for putting passwords in the URL.

The urllib2 module can perform authentication though, as described in http://docs.python.org/library/urllib2.html#examples


(Log in to post comments)

What is to replace Perl then?

Posted Dec 4, 2008 2:27 UTC (Thu) by jwb (guest, #15467) [Link]

That is interesting, I hadn't noticed before that HTTP RFC specifies 'host' instead of 'authority', but you're right it's of little use because the problem is that such URLs are found in the wild and when you're building a crawler you pretty much have to handle them.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds