Skip to content

Commit 91ce124

Browse files
authored
Merge pull request #122 from webflow/bump-httpcore
patch: set httpcore to fix vulnerability with downstream h11
2 parents 426fb34 + cf820be commit 91ce124

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "webflow"
3-
version = "2.0.0b1"
3+
version = "2.0.0b2"
44
description = ""
55
readme = "README.md"
66
authors = []
@@ -33,6 +33,7 @@ Repository = 'https://github.com/webflow/webflow-python'
3333
[tool.poetry.dependencies]
3434
python = "^3.8"
3535
httpx = ">=0.21.2"
36+
httpcore = "1.0.9"
3637
pydantic = ">= 1.9.2"
3738
pydantic-core = "^2.18.2"
3839
typing_extensions = ">= 4.0.0"

src/webflow/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2222
headers: typing.Dict[str, str] = {
2323
"X-Fern-Language": "Python",
2424
"X-Fern-SDK-Name": "webflow",
25-
"X-Fern-SDK-Version": "2.0.0b1",
25+
"X-Fern-SDK-Version": "2.0.0b2",
2626
}
2727
headers["Authorization"] = f"Bearer {self._get_access_token()}"
2828
return headers

0 commit comments

Comments
 (0)