@@ -0,0 +1,2428 @@
+# -*- coding: utf-8 -*-%0A%22%22%22%0Ahyper/http20/error_code_registry%0A~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%0A%0AGlobal error code registry containing the established HTTP/2 error codes.%0AThe registry is based on a 32-bit space so we use the error code to index into%0Athe array.%0A%0AThe current registry is available at:%0Ahttps://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-11.4%0A%22%22%22%0A%0ANO_ERROR =            %7B'Name': 'NO_ERROR',%0A                       'Description': 'Graceful shutdown'%7D%0APROTOCOL_ERROR =      %7B'Name': 'PROTOCOL_ERROR',%0A                       'Description': 'Protocol error detected'%7D%0AINTERNAL_ERROR =      %7B'Name': 'INTERNAL_ERROR',%0A                       'Description': 'Implementation fault'%7D%0AFLOW_CONTROL_ERROR =  %7B'Name': 'FLOW_CONTROL_ERROR',%0A                       'Description': 'Flow control limits exceeded'%7D%0ASETTINGS_TIMEOUT =    %7B'Name': 'SETTINGS_TIMEOUT',%0A                       'Description': 'Settings not acknowledged'%7D%0ASTREAM_CLOSED =       %7B'Name': 'STREAM_CLOSED',%0A                       'Description': 'Frame received for closed stream'%7D%0AFRAME_SIZE_ERROR =    %7B'Name': 'FRAME_SIZE_ERROR',%0A                       'Description': 'Frame size incorrect'%7D%0AREFUSED_STREAM =      %7B'Name': 'REFUSED_STREAM ',%0A                       'Description': 'Stream not processed'%7D%0ACANCEL =              %7B'Name': 'CANCEL',%0A                       'Description': 'Stream cancelled'%7D%0ACOMPRESSION_ERROR =   %7B'Name': 'COMPRESSION_ERROR',%0A                       'Description': 'Compression state not updated'%7D%0ACONNECT_ERROR =       %7B'Name': 'CONNECT_ERROR',%0A                       'Description': %0A                       'TCP connection error for CONNECT method'%7D%0AENHANCE_YOUR_CALM =   %7B'Name': 'ENHANCE_YOUR_CALM',%0A                       'Description': 'Processing capacity exceeded'%7D%0AINADEQUATE_SECURITY = %7B'Name': 'INADEQUATE_SECURITY',%0A                       'Description': %0A                       'Negotiated TLS parameters not acceptable'%7D%0AHTTP_1_1_REQUIRED =   %7B'Name': 'HTTP_1_1_REQUIRED', %0A                       'Description': 'Use HTTP/1.1 for the request'%7D%0A%0AH2_ERROR_CODE_REGISTRY = %5BNO_ERROR, PROTOCOL_ERROR, INTERNAL_ERROR,%0A                          FLOW_CONTROL_ERROR, SETTINGS_TIMEOUT, STREAM_CLOSED,%0A                          FRAME_SIZE_ERROR, REFUSED_STREAM, CANCEL,%0A                          COMPRESSION_ERROR, CONNECT_ERROR, ENHANCE_YOUR_CALM,%0A                          INADEQUATE_SECURITY, HTTP_1_1_REQUIRED%5D%0A

Add HTTP2 error code registry