Project

General

Profile

Actions

Feature #74532

closed

Support PUT, PATCH and DELETE requests in PSR-7 API

Added by Andreas Wolf over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2016-03-09
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The PSR-7 compliant API (ServerRequestFactory and friends) currently relies on GeneralUtility for decoding a request, which in turn uses PHP’s internal support for decoding a request body. This, however, only works for POST requests, which is also why the methods are named GeneralUtility::_POST etc.

To support more modern server APIs, we should at least include support for PUT, PATCH and friends in the new API, which will eventually replace the static methods in GeneralUtility one day.


Files

put_test.zip (1.86 KB) put_test.zip Andreas Wolf, 2016-03-09 10:20
Actions

Also available in: Atom PDF