File: included_source_meta.py

package info (click to toggle)
python-b2sdk 2.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,020 kB
  • sloc: python: 30,902; sh: 13; makefile: 8
file content (25 lines) | stat: -rw-r--r-- 865 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
######################################################################
#
# File: b2sdk/_internal/requests/included_source_meta.py
#
# Copyright 2022 Backblaze Inc. All Rights Reserved.
#
# License https://www.backblaze.com/using_b2_code.html
#
######################################################################
from b2sdk._internal.included_sources import IncludedSourceMeta, add_included_source

included_source_meta = IncludedSourceMeta(
    'requests',
    'Included in a revised form',
    {
        'NOTICE': """Requests
Copyright 2019 Kenneth Reitz

Copyright 2021 Backblaze Inc.
Changes made to the original source:
requests.models.Response.iter_content has been overridden to pass `decode_content=False` argument to `self.raw.stream`
in order to NOT decompress data based on Content-Encoding header"""
    },
)
add_included_source(included_source_meta)