| 1 |
Source: requests-file |
| 2 |
Section: python |
| 3 |
Priority: optional |
| 4 |
Maintainer: Antoine Beaupré <[email protected]> |
| 5 |
Build-Depends: debhelper-compat (= 13), |
| 6 |
dh-sequence-python3, |
| 7 |
pybuild-plugin-pyproject, |
| 8 |
python3-all, |
| 9 |
python3-pytest, |
| 10 |
python3-requests, |
| 11 |
python3-setuptools, |
| 12 |
python3-setuptools-scm, |
| 13 |
Rules-Requires-Root: no |
| 14 |
Standards-Version: 4.1.1 |
| 15 |
Homepage: https://codeberg.org/dashea/requests-file |
| 16 |
Vcs-Git: https://salsa.debian.org/debian/requests-file.git |
| 17 |
Vcs-Browser: https://salsa.debian.org/debian/requests-file |
| 18 |
|
| 19 |
Package: python3-requests-file |
| 20 |
Architecture: all |
| 21 |
Depends: ${misc:Depends}, ${python3:Depends} |
| 22 |
Recommends: ${python3:Recommends} |
| 23 |
Suggests: ${python3:Suggests} |
| 24 |
Description: File transport adapter for Requests - Python 3.X |
| 25 |
Requests-File is a transport adapter for use with the Requests Python |
| 26 |
library to allow local filesystem access via file:// URLs. |
| 27 |
. |
| 28 |
Features: |
| 29 |
. |
| 30 |
* Will open and read local files |
| 31 |
* Might set a Content-Length header |
| 32 |
* That's about it |
| 33 |
. |
| 34 |
No encoding information is set in the response object, so be careful using |
| 35 |
Response.text: the chardet library will be used to convert the file to a |
| 36 |
unicode type and it may not detect what you actually want. |
| 37 |
. |
| 38 |
EACCES is converted to a 403 status code, and ENOENT is converted to a |
| 39 |
404. All other IOError types are converted to a 400. |
| 40 |
. |
| 41 |
This package contains the Python 3 version of the library. |