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

parse_url() also had no generate_url() counterpart - sure, it could (sometimes) split a URL into its components, but there was no safe way to modify those components and glue them back into a string. The new URI class solves that.




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

Search: