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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user