Hadley Wickham
Hadley Wickham
I thought the most likely end point would be uploading a profile picture, but I can't find that in the API: https://docs.github.com/en/rest/users/users?apiVersion=2022-11-28#update-the-authenticated-user. And since it's been >2 years without further...
I think we're now more committed to not growing the scope of gh in this way, so I'm going to close.
I think the generic handling is now in https://httr2.r-lib.org/reference/req_template.html.
Also now in `httr2::req_template()`, so I suspect we can close this issue.
Closing since I don't understand what you want 😄
I think the `NULL` vs `""` distinction is ok, as it does allow us to distinguish `https://x.com` from `https://x.com/`, which is probably not generally useful, seems like a nice distinction...
Also I just wanted to use `resp_url()` in a test, so it would definitely be handy to have a few more helpers here.
Yeah. Now tracking in #223
I don't think there's currently much we can do here, except recommend that you provide a fully formed url. Otherwise, I think a proper fix would requiring reading and recreating...
I think you already get that from the `next_page()` callback; `n_pages` is probably better named `max_pages`; it just protects you from infinite iteration.