Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#17223 closed defect (bug) (fixed)

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

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

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
15 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.