Ë
    ¹2Úi¯  ã                   ó6   — d Z ddlZddlmZmZ  G d„ de«      Zy)zApache's specific responses.é    N)ÚProxiedDownloadResponseÚcontent_dispositionc                   ó$   ‡ — e Zd ZdZdˆ fd„	Zˆ xZS )ÚXSendfileResponsez7Delegates serving file to Apache via X-Sendfile header.c                 ó¼   •— t         t        | �  |¬«       |r@|xs t        j                  j                  |«      | _        t        | j
                  «      | d<   || d<   y)z9Return a HttpResponse with headers for Apache X-Sendfile.)Úcontent_typezContent-Dispositionz
X-SendfileN)Úsuperr   Ú__init__ÚosÚpathÚbasenamer   )ÚselfÚ	file_pathr   r   Ú
attachmentÚ	__class__s        €úZ/var/www/html/acx/venv/lib/python3.12/site-packages/django_downloadview/apache/response.pyr
   zXSendfileResponse.__init__
   sR   ø€ äÔ Ñ/¸\Ð/ÔJÙØ$ÒC¬¯©×(8Ñ(8¸Ó(CˆDŒMÜ*=¸d¿m¹mÓ*LˆDÐ&Ñ'Ø&ˆˆ\Òó    )NT)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   Ú__classcell__)r   s   @r   r   r      s   ø„ Ù=÷'ñ 'r   r   )r   Úos.pathr   Údjango_downloadview.responser   r   r   © r   r   ú<module>r      s   ðÙ "Û ç Uô	'Ð/õ 	'r   