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

Calls to the datatraker backend are having to be redirected #157

Open
rjsparks opened this issue Aug 8, 2024 · 0 comments
Open

Calls to the datatraker backend are having to be redirected #157

rjsparks opened this issue Aug 8, 2024 · 0 comments

Comments

@rjsparks
Copy link
Member

rjsparks commented Aug 8, 2024

The 301s below should be avoided by constructing the client for the datatracker API such that it goes after the thing with the trailing slash in the first place.

[08/Aug/2024 10:27:07] "GET /api/rpc/subject/5709/person HTTP/1.0" 301 0
[08/Aug/2024 10:27:07] "GET /api/rpc/subject/5709/person/ HTTP/1.0" 200 44
[08/Aug/2024 10:27:45] "POST /api/rpc/persons/ HTTP/1.0" 200 477
[08/Aug/2024 10:27:45] "GET /api/rpc/doc/submitted_to_rpc HTTP/1.0" 301 0
[08/Aug/2024 10:27:45] "GET /api/rpc/doc/submitted_to_rpc/ HTTP/1.0" 200 517
[08/Aug/2024 10:27:48] "POST /api/rpc/persons/ HTTP/1.0" 200 477
[08/Aug/2024 10:28:42] "POST /api/rpc/persons/ HTTP/1.0" 200 477
[08/Aug/2024 10:28:42] "POST /api/rpc/persons/ HTTP/1.0" 200 477
[08/Aug/2024 10:28:42] "GET /api/rpc/subject/5709/person HTTP/1.0" 301 0
[08/Aug/2024 10:28:42] "GET /api/rpc/subject/5709/person/ HTTP/1.0" 200 44
[08/Aug/2024 11:16:17] "POST /api/rpc/persons/ HTTP/1.0" 200 477
[08/Aug/2024 11:16:41] "GET /api/rpc/doc/submitted_to_rpc HTTP/1.0" 301 0
[08/Aug/2024 11:16:41] "GET /api/rpc/doc/submitted_to_rpc/ HTTP/1.0" 200 517
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

No branches or pull requests

1 participant