httk.serve.http.fields¶
Validate HTTP field names and values against the RFC 9110 grammar.
Functions¶
|
Report whether a value is a valid RFC 9110 field name. |
|
Report whether a value is an acceptable HTTP field value. |
|
Validate response header name-value pairs, rejecting duplicate names. |
Module Contents¶
- httk.serve.http.fields.is_field_name(value)[source]¶
Report whether a value is a valid RFC 9110 field name.
- httk.serve.http.fields.is_field_value(value)[source]¶
Report whether a value is an acceptable HTTP field value.