http_client_request 0.1.3__tar.gz → 0.1.3.1__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.4
2
2
  Name: http_client_request
3
- Version: 0.1.3
3
+ Version: 0.1.3.1
4
4
  Summary: http.client request extension.
5
5
  License: MIT
6
6
  Keywords: http.client,request
@@ -73,7 +73,7 @@ def ensure_available_connection(conn: BaseHTTPConnection, /):
73
73
  if select([sock], [], [], 0)[0]:
74
74
  sock.recv(1, MSG_PEEK | MSG_DONTWAIT)
75
75
  conn.close()
76
- except ValueError:
76
+ except (ValueError, ConnectionResetError):
77
77
  conn.close()
78
78
  except BlockingIOError:
79
79
  pass
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "http_client_request"
3
- version = "0.1.3"
3
+ version = "0.1.3.1"
4
4
  description = "http.client request extension."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"