Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for HEAD and OPTIONS #115

Closed
cportele opened this issue Apr 6, 2018 · 6 comments
Closed

Support for HEAD and OPTIONS #115

cportele opened this issue Apr 6, 2018 · 6 comments
Labels
OGC API: Common Issue related to general resources or requirements (see #190) OGC API: Features Issue related to feature resources (see #190) Part 1: Core Issue related to Part 1 - Core progress: pull request available

Comments

@cportele
Copy link
Member

cportele commented Apr 6, 2018

Currently, the Core only requires support for the GET method.

In practice, support for HEAD and OPTIONS for all resources should be considered, too:

  • HEAD is basically free to implement, but can be useful to check that a resource exists.
  • OPTIONS is useful to determine the other HTTP methods supported by the resource. It is also needed for CORS preflight requests.

(This was originally raised in #105.)

@cportele cportele added the Part 1: Core Issue related to Part 1 - Core label Apr 6, 2018
@rcoup
Copy link

rcoup commented Apr 6, 2018

Definitely nice to have, but are they really essential to implement in core?

@cportele
Copy link
Member Author

cportele commented Apr 6, 2018

Good point, probably you are right. Maybe we could also just mention them in an informative way to make everyone aware of them, but no add anything normative.

@pvretano
Copy link
Contributor

pvretano commented Apr 6, 2018

Informative is fine until we get further feedback from TB14, etc ...

@cportele cportele added this to the Part 1, Second Draft Release milestone Aug 8, 2018
@akuckartz
Copy link

The WFS specification can and should refer to RFC 7231.

https://tools.ietf.org/html/rfc7231#section-4.3.2 states:

The server SHOULD send the same header fields in response to a HEAD request as it would have sent if the request had been a GET, except that the payload header fields (Section 3.3) MAY be omitted.

@cportele cportele added OGC API: Common Issue related to general resources or requirements (see #190) OGC API: Features Issue related to feature resources (see #190) labels Mar 5, 2019
@cportele
Copy link
Member Author

cportele commented Apr 15, 2019

15-April-2019 Teleconference: Do not add requirements for HEAD / OPTIONS. Recommend that HEAD is implemented (it is also simple to support). OPTIONS is needed for CORS and we should mention it in that context.

@cportele
Copy link
Member Author

resolved by #208

@cportele cportele added this to Done in Part 1: Core May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OGC API: Common Issue related to general resources or requirements (see #190) OGC API: Features Issue related to feature resources (see #190) Part 1: Core Issue related to Part 1 - Core progress: pull request available
Projects
Part 1: Core
  
Done
Development

No branches or pull requests

4 participants