#37839 closed defect (bug) (fixed)
wp_remote_get sometimes mutilates the response body
| Reported by: | stephenharris | Owned by: | rmccue |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7.1 |
| Component: | HTTP API | Version: | 4.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
This happens when the HTTP header claims the body is chunk encoded when it is actual fact not, AND the body appears chunked correctly (although it isn't).
The underlying issue (apart from a lying a HTTP header) is the Requests library is not recognising that the chunk encoding is not valid. This has been reported upstream: https://github.com/rmccue/Requests/pull/236, this issue has been opened to track the issue here.
The symptom of the issue is that wp_remote_get() will sometimes return a response with lines removed from the body (mistaken as chunk headers).
Change History (7)
#3
follow-up:
↓ 4
@
10 years ago
- Milestone Future Release → 4.7
- Owner set to
- Status new → assigned
PR merged; needs update in core.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Can change milestone to 4.7 once the PR has been merged upstream.