Open
Description
Since $response has been set to private and $headers is currently only used for request headers, contexts inheriting WebApiContext have no way to access the response headers.
Suggested change:
- either mark
$response
asprotected
instead ofprivate
- or add
$this->headers = $this->response->getHeaders();
at the end ofsendRequest()
, making headers usable for both request and response - or provide separate properties+accessors for request and response headers.
Metadata
Metadata
Assignees
Labels
No labels