Skip to content

HTTP OPTIONS Request to getcababilities throws a 405 error #268

Description

@LieGeo

Google Chrome calls the GETCAPABILITIES request as HTTP OPTIONS request in our Geoportal-application.
mapchache delivers a 405 Issue to this request

Example:
curl -X OPTIONS https://path.to.server/mapcache/wmts?SERVICE=WMTS&REQUEST=getcapabilities -i

Response from mapache:

_

<title>405 Method Not Allowed</title>

Method Not Allowed

The requested method OPTIONS is not allowed for this URL.

_

I don't know why Google Chrome uses the HTTP OPTIONS in header, but it does.
Our applications stops with error 405.
Other browsers seem to work without any problems.

Is there a configuration option to configure OPTIONS requests?

Regards
Peter

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions