Skip to content

Support HTTP authentication in URLs - #427

Closed
bersbersbers wants to merge 4 commits into
rstudio:mainfrom
bersbersbers:http_auth
Closed

bersbersbers wants to merge 4 commits into
rstudio:mainfrom
bersbersbers:http_auth

Conversation

@bersbersbers

Copy link
Copy Markdown

@schloerke, #348 (comment)

Adding support for the user/pass in the url string is very reasonable. A small PR for this logic would be great!

Here you go. I did wonder why parse_url() and sd_getShinyUrl() don't use httr::parse_url() and httr::build_url().

@bersbersbers

Copy link
Copy Markdown
Author

I included one more patch for URLs without an explicit port.

@schloerke

Copy link
Copy Markdown
Contributor

@bersbersbers Can you add a NEWS entry, please? Then I'll merge 😃 . Thank you!

I did wonder why parse_url() and sd_getShinyUrl() don't use httr::parse_url() and httr::build_url().

🤷‍♂️
I'll be sure to have shinytest2 have user / pass support.

@schloerke schloerke left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • NEWS entry

@bersbersbers

bersbersbers commented Feb 15, 2022 •

Copy link
Copy Markdown
Author
  • NEWS entry

Done. It feels a bit odd to list changes to an undocumented feature, but why not ;)

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants