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

sparql_client authorization issue #92

Open
PaulBrownMagic opened this issue Oct 20, 2019 · 2 comments
Open

sparql_client authorization issue #92

PaulBrownMagic opened this issue Oct 20, 2019 · 2 comments

Comments

@PaulBrownMagic
Copy link

When using sparql_client with authorization, once the results have been consumed another request is made without the authorization, resulting in a 401 response and error. This prevents SPARQL queries that exhaust the results.

The cause is a choice-point left in http_open/3 when using authorization. Not back-tracking into http_open/3 will resolve the issue.

@PaulBrownMagic
Copy link
Author

Pull request #93 adds the cut to the appropriate point.

@JanWielemaker
Copy link
Member

Hi Paul,

I guess this should be fixed in http_open/3. Only, I fail to reproduce the issue. How do you specify the authorization and which authorization are you using?

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

2 participants