U
    €Ha2  ã                   @   s.   d dl mZ ejZejj dd¡ dd„ ZdS )é    )ÚcookiesÚsamesiteÚSameSitec                 C   sd   i }|   d¡D ]P}d|kr,|  dd¡\}}n
d| }}| ¡ | ¡  }}|sP|rt |¡||< q|S )zD
    Return a dictionary parsed from a `Cookie:` header string.
    ú;ú=é   Ú )ÚsplitÚstripr   Ú_unquote)ÚcookieZ
cookiedictÚchunkÚkeyÚval© r   ú6/tmp/pip-unpacked-wheel-3jxiddxt/django/http/cookie.pyÚparse_cookie
   s    
r   N)Úhttpr   ÚSimpleCookieÚMorselÚ	_reservedÚ
setdefaultr   r   r   r   r   Ú<module>   s   