Function sp_io::offchain::http_response_headers
source · [−]Expand description
Read all response headers.
Returns a vector of pairs (HeaderKey, HeaderValue)
.
NOTE response headers have to be read before response body.