Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's not part of HTTP 1.1, just a popular convention for URLs carried over from Telnet/FTP, see: http://www.w3.org/Addressing/rfc1738.txt


Where, specifically, RFC 2616 does the spec say you must specify a http URI?

5.1.2 just specifies that it's a RequestURI and does not further define it.

3.2 refers you to RFC 2396, the URI spec, which includes mailto.

It's a valid URI and you are allowed to ask for it.


5.1.2 just specifies that it's a RequestURI and does not further define it.

I'm not sure if I understand. The one I'm looking at further defines it as:

    Request-URI    = "*" | absoluteURI | abs_path | authority
Edit: ah, of which, absoluteURI refers to 3.2.1, which references RFC2396, which includes mailto.

Still, doesn't include user:password@domain, though :-P

Src: http://www.ietf.org/rfc/rfc2616.txt


user:password@domain is a browser convention, not part of a URL, like I said.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: