Skip to content
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

Some notes for discussion #2053

Closed
wants to merge 1 commit into from
Closed

Some notes for discussion #2053

wants to merge 1 commit into from

Conversation

hadley
Copy link
Member

@hadley hadley commented Sep 9, 2024

No description provided.

)
},
httr2_http_404 = function(cnd) {
# Might be because it's a private repo & no PAT
Copy link
Member Author

Choose a reason for hiding this comment

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

)
},
httr2_http_403 = function(cnd) {
# No token?
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think it's possible to get this error?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, see #1929

@jennybc
Copy link
Member

jennybc commented Sep 9, 2024

Not a full review but glancing at this reminded me: do we need to use "http" here instead of "httr2"? If you look around, that's what's done in similar situations already. E.g. "http_error_403". Didn't we learn that's how gh classes things?

@hadley
Copy link
Member Author

hadley commented Sep 20, 2024

Giving up on this approach

@hadley hadley closed this Sep 20, 2024
@hadley hadley deleted the on-an-airplane branch September 20, 2024 21:50
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