Skip to content

Commit 4037517

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Fix comma fopen http_client
2 parents c06f8f3 + 7e11df0 commit 4037517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ A generator or any ``Traversable`` can also be used instead of a closure.
619619

620620
To submit a form with file uploads, pass the file handle to the ``body`` option::
621621

622-
$fileHandle = fopen('/path/to/the/file' 'r');
622+
$fileHandle = fopen('/path/to/the/file', 'r');
623623
$client->request('POST', 'https://...', ['body' => ['the_file' => $fileHandle]]);
624624

625625
By default, this code will populate the filename and content-type with the data

0 commit comments

Comments
 (0)