Feature #44730

Support stream resources as content for HTTP Request

Added by Robert Lemke over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-01-22
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Http
Target version:TYPO3 Flow Base Distribution - 2.1
PHP Version:5.3 Complexity:
Has patch:No

Description

If the HTTP Request would support stream resources instead of strings for setContent() and the CurlEngine would take this into consideration, files could be sent with curl through its INFILE feature.

Associated revisions

Revision c9580244
Added by Robert Lemke over 2 years ago

[FEATURE] Support streams as Request content

This patch enhances the setContent() method of the HTTP Request class
to accept stream resources, additionally to plain strings. Additionally
the CurlEngine now detects a stream and takes advantage of cURL's INFILE
feature.

That way (bigger) files can bypass PHP when sent through a request with
cURL.

Change-Id: I351fbde94594bf63f31f8c9fe984f457d70648a1
Resolves: #44730
Releases: master

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17659

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17659

#3 Updated by Robert Lemke over 2 years ago

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

Also available in: Atom PDF