python-httpfile 0.0.4.2__tar.gz → 0.0.4.4__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-httpfile
3
- Version: 0.0.4.2
3
+ Version: 0.0.4.4
4
4
  Summary: Python httpfile.
5
5
  Home-page: https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-httpfile
6
6
  License: MIT
@@ -535,6 +535,7 @@ class AsyncHTTPFileReader(HTTPFileReader):
535
535
  seek_threshold: int = 1 << 20,
536
536
  urlopen = None,
537
537
  ):
538
+ self.__dict__.update(closed=False, start=0, _seekable=True)
538
539
  self.__dict__["_initing"] = run_async(self.__ainit__(
539
540
  url=url,
540
541
  headers=headers,
@@ -607,7 +608,6 @@ class AsyncHTTPFileReader(HTTPFileReader):
607
608
  length = get_total_length(response) or 0,
608
609
  chunked = is_chunked(response),
609
610
  start = start,
610
- closed = False,
611
611
  urlopen = urlopen,
612
612
  headers = MappingProxyType(headers),
613
613
  seek_threshold = max(seek_threshold, 0),
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-httpfile"
3
- version = "0.0.4.2"
3
+ version = "0.0.4.4"
4
4
  description = "Python httpfile."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"