#28887 closed defect (bug) (fixed)
Different data type for HTTP response code
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTTP API | Keywords: | |
Focuses: | Cc: |
Description
Depending on the transport implementation (cURL or PHP Streams) used when calling wp_remote_get
the returned data type for the response code will be different. If cURL is used then it will be an integer. If PHP Streams are used it will be a string. Since the transport implementation is abstracted away it would make it easier if the data types of the returns would also be consistent.
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 29849: