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

Sure you can, it’s been built-in to the HTTP spec since RFC1738[1]. You just do:

//<user>:<pass>@<url>[:<port>][/<location>]/

It doesn’t work on IE classic, but should still be perfectly valid on Chrome, Safari, Firefox, etc.

1 - https://www.ietf.org/rfc/rfc1738.txt



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

Search: