Merge pull request '1.3.1' (#10) from dev into latest
All checks were successful
Build And Publish Package / publish (push) Successful in 31s
All checks were successful
Build And Publish Package / publish (push) Successful in 31s
Reviewed-on: #10
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "OxideHTTP"
|
||||
version = "1.3.0"
|
||||
version = "1.3.1"
|
||||
description = "High-performance Python HTTP client."
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }]
|
||||
@ -13,8 +13,6 @@ dependencies = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff>=0.14.13",
|
||||
"pyright>=1.1.408",
|
||||
"poethepoet>=0.40.0",
|
||||
"pre-commit>=4.5.1",
|
||||
"types-redis>=4.6.0.20241004",
|
||||
|
||||
@ -187,6 +187,9 @@ class OxideHTTP:
|
||||
if headers:
|
||||
req.headers.update(headers)
|
||||
|
||||
if json is None:
|
||||
req.headers.update({'content-length': '0'})
|
||||
|
||||
await self.__wait_until_ready()
|
||||
return await req.send()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user