10BC0 Bugfix. · phpish/http@40a955c · GitHub
[go: up one dir, main page]

Skip to content

Commit 40a955c

Browse files
committed
Bugfix.
1 parent d63ce3e commit 40a955c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http_api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function _http_client_setopts($ch, $method, $payload, $request_headers_assoc, $c
6868
CURLOPT_TIMEOUT => 30,
6969
);
7070

71-
$request_headers = array();
71+
$request_headers = $request_headers_assoc_lower = array();
7272
foreach ($request_headers_assoc as $key=>$val) { $request_headers_assoc_lower[strtolower($key)] = $val; }
7373
$request_headers_assoc = $request_headers_assoc_lower;
7474

0 commit comments

Comments
 (0)
0