Skip to content

Commit

Permalink
updated dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
berislavlopac committed Oct 12, 2022
1 parent 64b1b91 commit 793b32c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyapi/server/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def from_request(cls, request: Request) -> OpenAPIRequest:
method=request.method.casefold(),
parameters=parameters,
body=(await request.body()).decode(),
mimetype=request.headers.get("content-type"),
mimetype=request.headers.get("content-type", ""),
)


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyapi-server"
version = "0.2.2"
version = "0.2.3"
description = "Lightweight API framework using an OpenAPI spec for routing and validation."
authors = ["Berislav Lopac <[email protected]>"]
license = "MIT"
Expand All @@ -15,7 +15,7 @@ packages = [
python = "^3.8"
PyYAML = "^6.0"
stringcase = "^1.2.0"
starlette = "^0.20.4"
starlette = "^0.21.0"
openapi-core = "^0.15.0"
uvicorn = {version = "^0.18.3", optional = true}

Expand Down
2 changes: 2 additions & 0 deletions release-notes/0.2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* updated dependency versions
* slightly improved documentation

0 comments on commit 793b32c

Please sign in to comment.