1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Rename HTTP method override header

This is the name recommended by the JSON-API spec:
http://jsonapi.org/recommendations/#patchless-clients
This commit is contained in:
Franz Liedke
2015-11-26 17:43:32 +01:00
parent 22331306c6
commit 033a118e97
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ use Zend\Stratigility\MiddlewareInterface;
class FakeHttpMethods implements MiddlewareInterface
{
const HEADER_NAME = 'x-fake-http-method';
const HEADER_NAME = 'x-http-method-override';
/**
* {@inheritdoc}