Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0251e93

Browse files
committed
bug#19317 Fix comma fopen http_client (ytilotti)
This PR was merged into the 6.3 branch.Discussion----------Fix comma fopen http_client<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `6.x` for features of unreleased versions).-->Commits-------8af822a Fix comma fopen http_client
2 parents2c1c4b6 +8af822a commit0251e93

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)

[8]ページ先頭

©2009-2025 Movatter.jp