smithy-http 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- smithy_http-0.2.1/.changes/0.2.1.json +8 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/CHANGELOG.md +5 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/PKG-INFO +1 -1
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/__init__.py +1 -1
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/crt.py +1 -1
- {smithy_http-0.2.0 → smithy_http-0.2.1}/.changes/0.0.1.json +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/.changes/0.1.0.json +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/.changes/0.2.0.json +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/.gitignore +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/NOTICE +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/README.md +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/pyproject.toml +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/aiohttp.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/auth/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/auth/apikey.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/identity/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/identity/apikey.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/interfaces/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/protocols.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/aio/restjson.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/bindings.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/deserializers.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/endpoints.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/exceptions.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/interceptors/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/interceptors/user_agent.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/interfaces/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/plugins/__init__.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/py.typed +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/restjson.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/serializers.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/user_agent.py +0 -0
- {smithy_http-0.2.0 → smithy_http-0.2.1}/src/smithy_http/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: smithy-http
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: HTTP components for Smithy tooling.
|
|
5
5
|
Project-URL: Changelog, https://github.com/smithy-lang/smithy-python/blob/develop/packages/smithy-http/CHANGELOG.md
|
|
6
6
|
Project-URL: Code, https://github.com/smithy-lang/smithy-python/blob/develop/packages/smithy-http/
|
|
@@ -273,7 +273,7 @@ class AWSCRTHTTPClient(http_aio_interfaces.HTTPClient):
|
|
|
273
273
|
headers_list: list[tuple[str, str]] = []
|
|
274
274
|
if "host" not in request.fields:
|
|
275
275
|
request.fields.set_field(
|
|
276
|
-
Field(name="host", values=[request.destination.
|
|
276
|
+
Field(name="host", values=[request.destination.netloc])
|
|
277
277
|
)
|
|
278
278
|
|
|
279
279
|
if "accept" not in request.fields:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|