File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/ext/tornado/__pycache__/http1connection.cpython-310.pyc
Back
o ;j� � @ s d Z ddlmZmZmZ ddlZddlmZ ddlm Z m Z ddlmZ ddlm Z ddlmZ dd lmZmZ dd lmZ ddlmZmZ e�d�ZG d d� de�ZG dd� de�ZG dd� de�ZG dd� de j�ZG dd� de j�Z G dd� de�Z!de j"de#fdd�Z$dS )zFClient and server implementations of HTTP/1.x. .. versionadded:: 4.0 � )�absolute_import�division�print_functionN)�Future)� native_str�utf8)�gen)�httputil)�iostream)�gen_log�app_log)� stack_context)�GzipDecompressor�PY3s | c @ s e Zd Zdd� ZdS )�_QuietExceptionc C � d S �N� ��selfr r �T/opt/saltstack/salt/lib/python3.10/site-packages/salt/ext/tornado/http1connection.py�__init__) � z_QuietException.__init__N)�__name__� __module__�__qualname__r r r r r r ( s r c @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_ExceptionLoggingContextz�Used with the ``with`` statement when calling delegate methods to log any exceptions with the given logger. Any exceptions caught are converted to _QuietException c C s || _ d S r )�logger)r r r r r r 2 � z!_ExceptionLoggingContext.__init__c C r r r r r r r � __enter__5 r z"_ExceptionLoggingContext.__enter__c C s&