File: //proc/722141/root/lib/python3.6/site-packages/botocore/__pycache__/eventstream.cpython-36.pyc
3
�T_%P � @ s d Z ddlmZ ddlmZ ddlmZ dZd%Zd'Z G d
d� de
�ZG dd
� d
e�ZG dd� de�Z
G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zd(dd�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!e�ZG d"d#� d#e�Zd$S ))zBinary Event Stream Decoding � )�crc32)�unpack)�EventStreamError� � i � � c @ s e Zd ZdZdS )�ParserErrorz.Base binary flow encoding parsing exception. N)�__name__�
__module__�__qualname__�__doc__� r r �!/usr/lib/python3.6/eventstream.pyr s r c s e Zd ZdZ� fdd�Z� ZS )�DuplicateHeaderz%Duplicate header found in the event. c s d| }t t| �j|� d S )NzDuplicate header present: "%s")�superr �__init__)�self�header�message)� __class__r r r s zDuplicateHeader.__init__)r
r r r
r �
__classcell__r r )r r r s r c s e Zd ZdZ� fdd�Z� ZS )�InvalidHeadersLengthz+Headers length is longer than the maximum. c s d|t f }tt| �j|� d S )Nz.Header length of %s exceeded the maximum of %s)�_MAX_HEADERS_LENGTHr r r )r �lengthr )r r r r '