Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Request OPTIONS fix to return all allowed methods #32

Merged
merged 10 commits into from
Mar 5, 2018
Merged

Request OPTIONS fix to return all allowed methods #32

merged 10 commits into from
Mar 5, 2018

Conversation

michalbundyra
Copy link
Member

@michalbundyra michalbundyra commented Mar 1, 2018

The integration tests are pulled from zend-expressive-router repository.

See: zendframework/zend-expressive-router#53

The interface of the latest zend-expressive-router has been changed.
We can't get matched middleware from RouteResult but we can get matched
route, and then from route we can get middleware.
The test is pulled from zend-expressive-router library
OPTIONS request should return response with all allowed methods for
the matching path
composer.json Outdated
"repositories": [
{
"type": "git",
"url": "https://github.com/webimpress/zend-expressive-router"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A reminder to remove this before merging.

michalbundyra and others added 2 commits March 2, 2018 23:58
Pins to 3.0.0rc1, and updates new test case based on name change in that
release.
@weierophinney weierophinney merged commit 60436dc into zendframework:release-3.0.0 Mar 5, 2018
weierophinney added a commit that referenced this pull request Mar 5, 2018
@michalbundyra michalbundyra deleted the hotfix/options-request branch March 5, 2018 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants