HTTP Constant Enumerations¶
HTTP/2 Error Code *¶
-
class
pcapkit.const.http.error_code.ErrorCode(value=<object object>, names=None, module=None, type=None, start=1)[source]¶ Bases:
aenum.IntEnum[ErrorCode] HTTP/2 Error Code
-
CANCEL= 8¶ desc
-
COMPRESSION_ERROR= 9¶ desc
-
CONNECT_ERROR= 10¶ desc
-
ENHANCE_YOUR_CALM= 11¶ desc
-
FLOW_CONTROL_ERROR= 3¶ desc
-
FRAME_SIZE_ERROR= 6¶ desc
-
HTTP_1_1_REQUIRED= 13¶ desc
-
INADEQUATE_SECURITY= 12¶ desc
-
INTERNAL_ERROR= 2¶ desc
-
NO_ERROR= 0¶ desc
-
PROTOCOL_ERROR= 1¶ desc
-
REFUSED_STREAM= 7¶ desc
-
SETTINGS_TIMEOUT= 4¶ desc
-
STREAM_CLOSED= 5¶ desc
-
HTTP/2 Frame Type †¶
-
class
pcapkit.const.http.frame.Frame(value=<object object>, names=None, module=None, type=None, start=1)[source]¶ Bases:
aenum.IntEnum[Frame] HTTP/2 Frame Type
-
ALTSVC= 10¶ ALTSVC [:rfc:`7838, Section 4`]
-
CONTINUATION= 9¶ CONTINUATION [:rfc:`7540, Section 6.10`]
-
DATA= 0¶ DATA [:rfc:`7540, Section 6.1`]
-
GOAWAY= 7¶ GOAWAY [:rfc:`7540, Section 6.8`]
-
HEADERS= 1¶ HEADERS [:rfc:`7540, Section 6.2`]
-
PING= 6¶ PING [:rfc:`7540, Section 6.7`]
-
PRIORITY= 2¶ PRIORITY [:rfc:`7540, Section 6.3`]
-
PUSH_PROMISE= 5¶ PUSH_PROMISE [:rfc:`7540, Section 6.6`]
-
RST_STREAM= 3¶ RST_STREAM [:rfc:`7540, Section 6.4`]
-
SETTINGS= 4¶ SETTINGS [:rfc:`7540, Section 6.5`]
-
Unassigned= 11¶ Unassigned
-
WINDOW_UPDATE= 8¶ WINDOW_UPDATE [:rfc:`7540, Section 6.9`]
-
HTTP/2 Settings ‡¶
-
class
pcapkit.const.http.setting.Setting(value=<object object>, names=None, module=None, type=None, start=1)[source]¶ Bases:
aenum.IntEnum[Setting] HTTP/2 Settings
-
ENABLE_PUSH= 2¶ ENABLE_PUSH [:rfc:`7540, Section 6.5.2`] 1
-
HEADER_TABLE_SIZE= 1¶ HEADER_TABLE_SIZE [:rfc:`7540, Section 6.5.2`] 4096
-
INITIAL_WINDOW_SIZE= 4¶ INITIAL_WINDOW_SIZE [:rfc:`7540, Section 6.5.2`] 65535
-
MAX_CONCURRENT_STREAMS= 3¶ MAX_CONCURRENT_STREAMS [:rfc:`7540, Section 6.5.2`] infinite
-
MAX_FRAME_SIZE= 5¶ MAX_FRAME_SIZE [:rfc:`7540, Section 6.5.2`] 16384
-
MAX_HEADER_LIST_SIZE= 6¶ MAX_HEADER_LIST_SIZE [:rfc:`7540, Section 6.5.2`] infinite
-
TLS_RENEG_PERMITTED= 16¶ TLS_RENEG_PERMITTED [MS-HTTP2E][Gabriel Montenegro] 0x00
-
Unassigned= 7¶ Unassigned
-