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

Content type for SPARQL update queries is overridden with a warning #58

Open
lkitching opened this issue Mar 9, 2017 · 0 comments
Open

Comments

@lkitching
Copy link
Contributor

The explicit application/sparql-update content type being set for SPARQL update requests is being overridden by RestClient to with a logged warning:

warning: Overriding "Content-Type" header "application/sparql-update" with "application/x-www-form-urlencoded" due to payload

According to the SPARQL update protocol (https://www.w3.org/TR/sparql11-protocol/#query-via-post-urlencoded), the correct content type for update queries is application/x-www-form-urlencoded so remove the explicit content type.

marianogabriels added a commit to marianogabriels/tripod that referenced this issue Apr 23, 2017
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