Project

General

Profile

Actions

Feature #89216

closed

Provide implementation for PSR-18 HTTP Client

Added by Benjamin Franzke about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Start date:
2019-09-20
Due date:
% Done:

100%

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

Description

PSR-18 [1] HTTP Client is useful in generic middlewares or request handlers, as the PSR-18 interfaces allow to create HTTP requests based on PSR-7 message objects without relying on a specific HTTP client implementation.

Gains for TYPO3 extensions:

While TYPO3 already contains GuzzleHTTP (provided by RequestFactory->request()), PSR-18 allows TYPO3 extensions to include generic PSR-15 middlewares/handlers from external packages (which may already make use of PSR-18 to perform HTTP requests).

The already existing GuzzleHTTP client could be used as (default) backend for the implementation of the PSR-18 ClientInterface.
That means all current HTTP settings would be used as before. No migration required.

[1] https://www.php-fig.org/psr/psr-18/


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #93573: Use native guzzle PSR-18 implementationClosedBenjamin Franzke2021-02-23

Actions
Actions #1

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61567

Actions #2

Updated by Gerrit Code Review about 5 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61567

Actions #3

Updated by Gerrit Code Review about 5 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61567

Actions #4

Updated by Gerrit Code Review about 5 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61567

Actions #5

Updated by Gerrit Code Review about 5 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61567

Actions #6

Updated by Benjamin Franzke about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions #8

Updated by Benjamin Franzke over 3 years ago

  • Related to Task #93573: Use native guzzle PSR-18 implementation added
Actions

Also available in: Atom PDF