THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
module documentation
Parse and expose HTTP headers with case-insensitive lookup.
| Class | |
Parse and expose HTTP headers with case-insensitive lookup. |
| Function | _validate |
Reject malformed outgoing field names and values before transport emission. |
| Constant | _HEADER |
Field-value controls other than the permitted horizontal tab. |
| Constant | _HEADER |
HTTP field-name token, excluding separators and non-ASCII characters. |
Reject malformed outgoing field names and values before transport emission.
| Parameters | |
name:str | Header field name. |
value:str | Header field value, allowing horizontal tabs and Latin-1 text. |
| Returns | |
None | No return value. |
| Raises | |
TypeError | If the name or value is not a string. |
ValueError | If the name is not an HTTP token or the value contains unsafe controls. |
Field-value controls other than the permitted horizontal tab.
| Value |
|
HTTP field-name token, excluding separators and non-ASCII characters.
| Value |
|