Skip to content

Use of OPTIONS in /core/http-methods (is OPTIONS a 'standard' HTTP method?) #633

@lathoub

Description

@lathoub

Reading /http-methods I'm unsure if OPTIONS is a 'standard' method (or 'other' method as described here) (It is not a 'optional' method).

Upcoming OGC API - Features - Part 4: Create, Replace, Update and Delete (in draft) has a requirement for the use of OPTIONS.

Requirement 15 A:
The server SHALL support the HTTP OPTIONS operation at each resource endpoint

If I read the text correctly, only apply 'standard' HTTP methods (GET/POST/PUT/PATCH/DELETE). OPTIONS is (again, according to the text) an 'other' method and thus not allowed.

The test code however allows OPTIONS as a standard method.

Is OPTIONS a standard method and thus allowed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    STD: ADRStandaard: API Design RulesWG: Normatieve rulesissues regarding the normative part of the API design rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions