pigeon.http.message¶
Module Contents¶
- class pigeon.http.message.ParameterDict(data: dict = None)¶
Bases:
collections.UserDict
Similar to a dictionary, but items can also be accessed using <dict>.<key>. If accessed as described above, the dict will return the value or None if no matching item is found.
- keys()¶
D.keys() -> a set-like object providing a view on D’s keys
- items()¶
D.items() -> a set-like object providing a view on D’s items
- values()¶
D.values() -> an object providing a view on D’s values
- class pigeon.http.message.LowerParameterDict(data: dict = None)¶
Bases:
ParameterDict
Similar to ParameterDict, but all keys will be changed to lowercase and any dashes ‘-’ in keys will be changed to underscores ‘_’.
- class pigeon.http.message.HTTPHeader(name: str, value: str)¶
Single HTTP message header
- property value: str¶
- class pigeon.http.message.HTTPHeaders(headers: dict[str, str] = None)¶
Class representing HTTP message headers
- items()¶
- values()¶
- class pigeon.http.message.HTTPData¶
Class representing HTTP message body data