Ë
    ¹2Úi¸  ã                   óp   — d dl Zd dlmZ  G d„ dej                  j
                  j                  «      Zd„ Zy)é    N)ÚXSendfileResponsec                   ó   — e Zd ZdZd„ Zy)ÚXSendfileValidatorzzUtility class to validate XSendfileResponse instances.

    See also :py:func:`assert_x_sendfile` shortcut function.

    c                 óB   — |j                  t        |t        «      «       y )N)Ú
assertTrueÚ
isinstancer   )ÚselfÚ	test_caseÚresponses      úY/var/www/html/acx/venv/lib/python3.12/site-packages/django_downloadview/lighttpd/tests.pyÚassert_x_sendfile_responsez-XSendfileValidator.assert_x_sendfile_response   s   € Ø×ÑœZ¨Ô2CÓDÕEó    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   © r   r   r   r      s   „ ñóFr   r   c                 ó*   — t        «       } || |fi |¤ŽS )aL  Make ``test_case`` assert that ``response`` is a XSendfileResponse.

    Optional ``assertions`` dictionary can be used to check additional items:

    * ``basename``: the basename of the file in the response.

    * ``content_type``: the value of "Content-Type" header.

    * ``file_path``: the value of "X-Sendfile" header.

    )r   )r
   r   Ú
assertionsÚ	validators       r   Úassert_x_sendfiler      s   € ô #Ó$€IÙ�Y Ñ7¨JÑ7Ð7r   )Ú django_downloadview.apache.testsÚdjango_downloadviewÚ%django_downloadview.lighttpd.responser   ÚapacheÚtestsr   r   r   r   r   ú<module>r      s1   ðÛ 'Ý CôFÐ,×3Ñ3×9Ñ9×LÑLô Fó8r   