File: //lib/python3/dist-packages/twisted/web/__pycache__/http_headers.cpython-310.pyc
o
�b�! � @ s� d Z ddlmZ ddlmZmZmZmZm Z m
Z
mZmZmZm
Z
mZmZ ddlmZmZ ed�Zdedefdd �Zd
edefdd�ZeG d
d� d��ZdgZdS )z2
An API for storing HTTP header names and values.
� )�Sequence)�AnyStr�Dict�Iterator�List�Mapping�Optionalr �Tuple�TypeVar�Union�cast�overload)�cmp�
comparable�_T�name�returnc C s d� dd� | �d�D ��S )z�
Return a byte string which is capitalized using '-' as a word separator.
@param name: The name of the header to capitalize.
@return: The given header capitalized using '-' as a word separator.
� -c S s g | ]}|� � �qS � )�
capitalize)�.0�wordr r �:/usr/lib/python3/dist-packages/twisted/web/http_headers.py�
<listcomp>&