Skip to content

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

Description

@lkitching

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions