« Previous | Next » 

Revision a297b170

IDa297b170fba8e97836dc4173cf0a90dbb12d31a1

Added by Bastian Waidelich over 8 years ago

[FEATURE] HTTP method tunneling

This change allows the HTTP method to be overridden by the client.
This is especially useful for clients that only support a subset of the
supported methods (e.g. browsers).

The request method can be overridden by specifying a ``__method``
argument. Additionally Flow now respects the ``X-HTTP-Method``
respectively ``X-HTTP-Method-Override`` header.

usage::

<form method="POST">
<input type="hidden" name="__method" value="DELETE" />
</form>

Note::

The HTTP request method can only be changed for POST requests

Change-Id: Ibe753ca4bfcc3dc5b579e39fd13af95b79bc1f83
Resolves: #47137
Releases: master, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted