Skip to content

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

@lkitching

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.

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