WebKit2.URIResponse.prototype.get_http_headers
function get_http_headers(): Soup.MessageHeaders {
// Gjs wrapper for webkit_uri_response_get_http_headers()
}
Get the HTTP headers of a WebKit2.URIResponse as a Soup.MessageHeaders.
Since 2.6
- Returns
a Soup.MessageHeaders with the HTTP headers of response or null if response is not an HTTP response.