« Previous | Next » 

Revision c9580244

IDc958024417ffc8ee2fb7104a338f51ba7b1a541e

Added by Robert Lemke almost 9 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

  • added
  • modified
  • copied
  • renamed
  • deleted