Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#17223 closed defect (bug) (fixed)

cURL transport returns an empty body for results which mearly contain 0

Reported by: dd32's profile dd32 Owned by:
Milestone: 3.2 Priority: normal
Severity: normal Version:
Component: HTTP API Keywords:
Focuses: Cc:

Description

cURL transport returns an empty body for results which mearly contain 0

Eg. The new Malware check API returns 0 for a bad url, curl ignores the 0 and returns a body of .

Change History (1)

#1 @dd32
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [17692]) Allow the cURL transport to handle '0' response bodies. Fixes #17223

Note: See TracTickets for help on using tickets.