Ë
    ¹2Úiµ  ã                   ó6   — d Z ddlZddlmZmZ  G d„ de«      Zy)zLighttpd's specific responses.é    N)ÚProxiedDownloadResponseÚcontent_dispositionc                   ó$   ‡ — e Zd ZdZdˆ fd„	Zˆ xZS )ÚXSendfileResponsez9Delegates serving file to Lighttpd via X-Sendfile header.c                 ó¼   •— t         t        | �  |¬«       |r@|xs t        j                  j                  |«      | _        t        | j
                  «      | d<   || d<   y)z;Return a HttpResponse with headers for Lighttpd X-Sendfile.)Úcontent_typezContent-Dispositionz
X-SendfileN)Úsuperr   Ú__init__ÚosÚpathÚbasenamer   )ÚselfÚ	file_pathr   r   Ú
attachmentÚ	__class__s        €ú\/var/www/html/acx/venv/lib/python3.12/site-packages/django_downloadview/lighttpd/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   