Merge pull request '1.3.2' (#11) from dev into latest
All checks were successful
Build And Publish Package / publish (push) Successful in 30s
All checks were successful
Build And Publish Package / publish (push) Successful in 30s
Reviewed-on: #11
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "OxideHTTP"
|
||||
version = "1.3.1"
|
||||
version = "1.3.2"
|
||||
description = "High-performance Python HTTP client."
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Miwory", email = "miwory.uwu@gmail.com" }]
|
||||
|
||||
@ -187,7 +187,7 @@ class OxideHTTP:
|
||||
if headers:
|
||||
req.headers.update(headers)
|
||||
|
||||
if json is None:
|
||||
if json is None and form is None:
|
||||
req.headers.update({'content-length': '0'})
|
||||
|
||||
await self.__wait_until_ready()
|
||||
|
||||
Reference in New Issue
Block a user