WordPress's GET function is sending a content-length of 0
|Reported by:||noel||Owned by:||DD32|
|Component:||HTTP API||Keywords:||press this, http|
Sending a content length of 0 with the GET request makes the request fail on some servers.
Sending a blank response of null or false works fine.
The included patch works well (and is necessary for Press This to function correctly under certain instances).
Change History (8)
- Milestone changed from Unassigned to 2.9
- Resolution set to fixed
- Status changed from new to closed
comment:2 @jacobsantos — 6 years ago
- Resolution fixed deleted
- Status changed from closed to reopened