| Server IP : 104.21.73.115 / Your IP : 216.73.217.154 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/dput/dput/methods/ |
Upload File : |
# dput/methods/http.py
# Part of ‘dput’, a Debian package upload toolkit.
#
# This is free software, and you are welcome to redistribute it under
# certain conditions; see the end of this file for copyright
# information, grant of license, and disclaimer of warranty.
""" Implementation for HTTP upload method. """
from http.client import HTTPSConnection
from . import http
def upload(
fqdn, login, incoming, files_to_upload, debug, dummy,
progress=0, protocol="https", connection_class=HTTPSConnection):
return http.upload(
fqdn, login, incoming, files_to_upload, debug, dummy,
progress, protocol=protocol, connection_class=connection_class)
# Copyright © 2015–2021 Ben Finney <[email protected]>
# Copyright © 2007 Thomas Viehmann <[email protected]>
#
# This is free software: you may copy, modify, and/or distribute this work
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 3 of that license or any later version.
# No warranty expressed or implied. See the file ‘LICENSE.GPL-3’ for details.
# Local variables:
# coding: utf-8
# mode: python
# End:
# vim: fileencoding=utf-8 filetype=python :