Skip to content

POST method with Slug header targetting auxiliary resource should error #573

Closed

Description

@jvherweg

When a POST method request with the Slug header targets an auxiliary resource, the server MUST respond with the 403 status code and response body describing the error.

This could be part of the support for auxiliary resources in #554: auxiliary handlers could see if the potentially new URI would result in an auxiliary resource. This would either require another component to have knowledge of the URI generation with slugs, or the DataAccessorBasedStore to take an auxiliary handler as input and do those checks. If possible I would prefer to keep knowledge of auxiliary resources out of that store though.

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

    📜 solid:protocol:v0.9➕ feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions