python-http_request 0.0.5.2__tar.gz → 0.0.5.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-http_request
3
- Version: 0.0.5.2
3
+ Version: 0.0.5.3
4
4
  Summary: Python http response utils.
5
5
  Home-page: https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-http_request
6
6
  License: MIT
@@ -107,7 +107,7 @@ def encode_multipart_data(
107
107
  yield b"\r\n"
108
108
 
109
109
  def encode_files(files) -> Iterator[Buffer]:
110
- if not data:
110
+ if not files:
111
111
  return
112
112
  if isinstance(files, Mapping):
113
113
  files = ItemsView(files)
@@ -147,7 +147,7 @@ def encode_multipart_data_async(
147
147
  yield b"\r\n"
148
148
 
149
149
  async def encode_files(files) -> AsyncIterator[Buffer]:
150
- if not data:
150
+ if not files:
151
151
  return
152
152
  if isinstance(files, Mapping):
153
153
  files = ItemsView(files)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-http_request"
3
- version = "0.0.5.2"
3
+ version = "0.0.5.3"
4
4
  description = "Python http response utils."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"