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

Missing docs for MethodOverrideMiddleware #10

Merged
merged 7 commits into from Jan 10, 2018

Conversation

3 participants
@kralmichal
Copy link
Contributor

commented Jan 10, 2018

No description provided.

kralmichal added some commits Jan 9, 2018

@@ -277,6 +277,16 @@ middleware:
- setEmail(cool@contributte.org)
```

#### `MethodOverrideMiddleware`

This middleware is used to enable overriding HTTP method using `X-HTTP-Method-Override` header. A typical use case would be when your API is behind some proxy/VPN which only allows only some HTTP methods, for example only GET and POST. Sending header `X-HTTP-Method-Override: PUT` will change request method to `PUT`

This comment has been minimized.

Copy link
@f3l1x

f3l1x Jan 10, 2018

Member
  • GET POST same as PUT
  • This middleware overrides ...
  • will change the request
  • which allows only some
@@ -277,6 +277,16 @@ middleware:
- setEmail(cool@contributte.org)
```

#### `MethodOverrideMiddleware`

This comment has been minimized.

Copy link
@f3l1x

f3l1x Jan 10, 2018

Member

Missing dot at the end ;-)

Update README.md
added that much-needed comma :D

@f3l1x f3l1x merged commit 8adcbea into contributte:master Jan 10, 2018

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@f3l1x

This comment has been minimized.

Copy link
Member

commented Jan 10, 2018

Excellent.

@f3l1x f3l1x modified the milestones: v0.5, v0.6 Jan 10, 2018

@mabar mabar modified the milestones: v0.7, v0.6 May 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.