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

Resolve location url according to RFC #7230 #39

Open
jsoo1 opened this issue Mar 26, 2020 · 0 comments · May be fixed by #40
Open

Resolve location url according to RFC #7230 #39

jsoo1 opened this issue Mar 26, 2020 · 0 comments · May be fixed by #40

Comments

@jsoo1
Copy link

jsoo1 commented Mar 26, 2020

Relative locations are allowed when the status code is a redirect. The location url should resolve to the effective request URI: https://tools.ietf.org/html/rfc7230#section-5.5

The issue:

Request http://example.com/redirect
Response { ... statusCode : 303, headers : { Location: "/redirected" ... } }

Expected:
The new request url should be http://example.com/redirected

Actual:
The new request url is /redirected

@jsoo1 jsoo1 linked a pull request Mar 26, 2020 that will close this issue
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 a pull request may close this issue.

1 participant