PyDocs

Nav

Internet Protocols and Support

HTTPResponse.getheader

http.client

method of HTTPResponse (source) not WASI
  • HTTPResponse.getheader(name, default=None)
Returns the value of the header matching *name*.

If there are multiple matching headers, the values are
combined into a single string separated by commas and spaces.

If no matching header is found, returns *default* or None if
the *default* is not specified.

If the headers are unknown, raises http.client.ResponseNotReady.
0 Examples
No examples for http.client/HTTPResponse.getheader.
See Also
No see-alsos for http.client/HTTPResponse.getheader
0 Notes
No notes for HTTPResponse.getheader