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

Allow Relative URL in Location Header #44

Closed
wants to merge 5 commits into from

Conversation

elliotmr
Copy link

@elliotmr elliotmr commented Dec 1, 2020

Fixed #43 - This passes the test suite because all responses from tusd always uses absolute paths. This COULD be a breaking change if there is some weird server implementation that returns an absolute path without a scheme.

@elliotmr elliotmr changed the title Allow Realtive URL in Location Header Allow Relative URL in Location Header Dec 16, 2020
@toresbe
Copy link

toresbe commented Dec 18, 2021

This issue affects me, so I tried this PR but with I got these results as seen on our tus server:

02:47:39 (004ms) ◦  POST  ◦ 201 ◦ /upload/video
02:47:39 (010ms) ◦ PATCH  ◦ 404 ◦ /upload/video/upload/video/a712e5846858397dca97f31574e9d467-1

So I think there may be some issues with this PR. PR #42 worked for me, though.

@elliotmr elliotmr closed this Apr 20, 2022
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.

'Location' expects absolute URL
2 participants