-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for fragment
in parse_url
and build_url
#70
Conversation
Probably just an oversight |
(Amended my commit when I noticed something trivial; on the off chance that bit me just lemme know and I'll fix.) |
Commit looks fine but I'll show you a nicer idiom when I'm at my computer |
+1 -- this means my not-so-secret plan to learn R by having you review my code is working. |
I'd write it like: str_c(scheme, "://", login, hostname, port, "/", path, params, query,
if (!is.null(url$fragment)) "#", fragment)
|
ah, nice -- done. if you want, i can do the same to the |
Yes please! |
done -- PTAL |
Looks good. Can you please add a bullet to the NEWS? |
ok, added a note and squashed. |
Add support for `fragment` in `parse_url` and `build_url`
Any opposition to adding support for the fragment? It looks like
parse_url
already grabs it.