| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/web/test/__pycache__/ |
Upload File : |
�
oj�� � �@ � d Z ddlZddlmZmZ ddlmZmZmZm Z ddl
mZ ddlm
Z
mZ ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZmZmZmZmZmZm Z dZ! ddl"Z"ddl#Z"ddl$Z"ddl%Z%ddl&Z&dd
l'm(Z(m)Z) ddl*m+Z+ G d� d� Z- G d� d� Z.d-d�Z/d-d�Z0d� Z1 G d� dejd � Z3 e e3� Z4 G d� dejd � Z5 e e5� Z6 G d� de5� Z7 e e7� Z8 G d� dejd � Z9 e e9� Z: G d� d � Z; e e;� Z< G d!� d"� Z= G d#� d$ej| e=� Z? G d%� d&ej| e=� Z@ G d'� d(ej| e=� ZA G d)� d*ej| e=� ZB G d+� d,ej| e=� ZCy# e,$ r dZ!Y ��w xY w).z
Test HTTP/2 support.
� N)�directlyProvides�
providedBy)�defer�error�reactor�task)�IPv4Address)�MemoryReactorClock�StringTransport)�failure)� iterbytes)�
DummyProducer)�unittest)�http)�DelayedHTTPHandler�DelayedHTTPHandlerProxy�DummyHTTPHandler�DummyHTTPHandlerProxy�DummyPullProducerHandlerProxy�._IDeprecatedHTTPChannelToRequestInterfaceProxy�_makeRequestProxyFactory)�Decoder�Encoder)�H2ConnectionzHTTP/2 support not enabledc �f � e Zd ZdZd� Zd� Zd� Zg dfd�Zdd�Zdd �Z d
� Z
dd�Zdd�Zdd
�Z
g fd�Zy)�FrameFactoryz�
A class containing lots of helper methods and state to build frames. This
allows test cases to easily build correct HTTP/2 frames to feed to
hyper-h2.
c �"