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

Restrict is(redirect|error) to integers #1117

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

fredrikekre
Copy link
Member

I used isredirect on a HTTP.Stream and instead of getting a MethodError this returned false. This patch limits the input to isredirect and iserror to Integers.

I used `isredirect` on a `HTTP.Stream` and instead of getting a
`MethodError` this returned `false`. This patch limits the input to
`isredirect` and `iserror` to `Integer`s.
@nickrobinson251 nickrobinson251 merged commit ec7dede into JuliaWeb:master Oct 11, 2023
10 of 11 checks passed
@fredrikekre fredrikekre deleted the fe/redirect branch October 11, 2023 09:44
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