Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 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__&