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

Removed unnecessary redirect #3

Merged
merged 1 commit into from
Aug 10, 2018
Merged

Removed unnecessary redirect #3

merged 1 commit into from
Aug 10, 2018

Conversation

psuet
Copy link
Contributor

@psuet psuet commented Aug 10, 2018

Every time the Importer makes a request to the API the webserver returns a 301 with a redirect. This is fixed with this patch

Before:

[10/Aug/2018:20:19:33 +0200] "GET /api/dcim/devices?limit=1000000 HTTP/1.1" 301 0 "-" "-"
[10/Aug/2018:20:19:33 +0200] "GET /api/dcim/devices/?limit=1000000 HTTP/1.1" 200 41090 "-" "-"

After:

[10/Aug/2018:20:33:29 +0200] "GET /api/dcim/devices/?limit=1000000 HTTP/1.1" 200 41090 "-" "-"

@psuet psuet mentioned this pull request Aug 10, 2018
@luto
Copy link
Member

luto commented Aug 10, 2018

thanks :)

@luto luto merged commit 1a81a38 into Uberspace:master Aug 10, 2018
@psuet psuet deleted the patch-1 branch August 11, 2018 14:46
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.

None yet

2 participants