Commit f9bd83b
committed
Duplicate headers
PHP (7.1.16) was showing `Content-Type` and `Content-Length` with both their original name and preceded by `HTTP`:
```
CONTENT_TYPE
HTTP_CONTENT_TYPE
CONTENT_LENGTH
HTTP_CONTENT_LENGTH
```
This was causing the headers to be added as duplicates in the request_headers array. Removing the 'CONTENT' condition to prevent the duplicate addition.1 parent b9b4e2b commit f9bd83b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments