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

Doesn't follow redirects #41

Open
applejag opened this issue Mar 7, 2022 · 0 comments
Open

Doesn't follow redirects #41

applejag opened this issue Mar 7, 2022 · 0 comments
Labels
bug Something isn't working prio/1 Low priority. "Nice to have"

Comments

@applejag
Copy link
Contributor

applejag commented Mar 7, 2022

The library doesn't follow redirects, but instead errors out with non-2xx status: 301 Moved Permanently

It should obviously follow the redirects. Don't know why it doesn't.

This has forced us to use some ugly URLs with trailing slashes due to implementation details in the wharf-api:

path := fmt.Sprintf("/api/build/%d/test-result/", buildID)

@applejag applejag added bug Something isn't working prio/1 Low priority. "Nice to have" labels Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio/1 Low priority. "Nice to have"
Projects
None yet
Development

No branches or pull requests

1 participant