1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Fix #382 - boto3 compatibility

* Add support for PyYaml5.1
* Unpin requests in Tox
* Unpin urllib3 in Tox
* Unpin Flask in Tox
* Add env vars to Tox for boto3 tests
This commit is contained in:
Jan Gazda
2019-05-13 11:33:19 +02:00
committed by Arthur Hamon
parent 8297d65038
commit 347026f42c
9 changed files with 164 additions and 65 deletions

View File

@@ -2,6 +2,9 @@ import warnings
from six import BytesIO, text_type
from six.moves.urllib.parse import urlparse, parse_qsl
from .util import CaseInsensitiveDict
import logging
log = logging.getLogger(__name__)
class Request(object):
@@ -18,6 +21,7 @@ class Request(object):
else:
self.body = body
self.headers = headers
log.debug("Invoking Request %s", self.uri)
@property
def headers(self):