Skip to content

Leading / in Graph Store Protocol HTTP Request Target #204

@Qup42

Description

@Qup42

"$GRAPHSTORE$ is the path of the URL of the graph store" and is used in many tests like <http://$HOST$/$GRAPHSTORE$/person/1>. To me it seems that $GRAPHSTORE$ should be relative path (meaning without a leading /), because otherwise we'd get additional empty path segments in the IRI (which are not always interpreted the same).

The first line of the HTTP requests now look like

PUT $GRAPHSTORE$/person/1.ttl HTTP/1.1

With a relative path for $GRAPHSTORE$ the request target has no leading /. If a HTTP request target is only a path then it must be an absolute path with a leading /.

Am I missing something here? If not the easiest solution is probably to add the leading slash to the request targets (which I can happily do).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions