comms.threadedhttp.HttpRequest holds some wraps some response results requests but the access can be made directly. e.g.
- hr.response_headers -> be replaces by r.headers
- hr.raw -> r.content
- hr.status -> r.status
Steps to proceed
- rename HttpRequest methods and properties to corresponding requests methods and properties
- show a FutureWarnig for the old identifiers
- After a desupporting time switch http.fetch() method result from HttpRequest to requests.Response result
- Desupport HttpRequest
- return requests.Response with http.request too; a Breaking change but usually not used directly because the common way is api.Request()
- Remove HttpRequest