tls-client-python 1.15.0.3__tar.gz → 1.15.0.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.
Files changed (22) hide show
  1. {tls_client_python-1.15.0.3/tls_client_python.egg-info → tls_client_python-1.15.0.4}/PKG-INFO +1 -1
  2. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/__init__.py +1 -1
  3. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/_core.py +9 -0
  4. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/bin/tls-client-darwin-amd64.dylib +0 -0
  5. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/bin/tls-client-darwin-arm64.dylib +0 -0
  6. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/bin/tls-client-linux-amd64-musl.so +0 -0
  7. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/bin/tls-client-linux-amd64.so +0 -0
  8. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/bin/tls-client-windows-386.dll +0 -0
  9. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/bin/tls-client-windows-amd64.dll +0 -0
  10. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4/tls_client_python.egg-info}/PKG-INFO +1 -1
  11. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/LICENSE +0 -0
  12. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/MANIFEST.in +0 -0
  13. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/Readme.md +0 -0
  14. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/pyproject.toml +0 -0
  15. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/setup.cfg +0 -0
  16. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/setup.py +0 -0
  17. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client/_default_headers.py +0 -0
  18. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client_python.egg-info/SOURCES.txt +0 -0
  19. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client_python.egg-info/dependency_links.txt +0 -0
  20. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client_python.egg-info/not-zip-safe +0 -0
  21. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client_python.egg-info/requires.txt +0 -0
  22. {tls_client_python-1.15.0.3 → tls_client_python-1.15.0.4}/tls_client_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tls-client-python
3
- Version: 1.15.0.3
3
+ Version: 1.15.0.4
4
4
  Summary: High-performance Python binding for bogdanfinn/tls-client via CFFI – zero-copy, panic-proof, full TLS fingerprint control
5
5
  Author: komAAmok
6
6
  License-Expression: MIT
@@ -25,4 +25,4 @@ __all__ = [
25
25
  "ClientIdentifiers",
26
26
  "clear_client_pool",
27
27
  ]
28
- __version__ = "1.15.0.3"
28
+ __version__ = "1.15.0.4"
@@ -2839,8 +2839,13 @@ class AsyncSession:
2839
2839
  opts.disable_http3 = _val("disable_http3", True)
2840
2840
  opts.disable_ipv4 = _val("disable_ipv4", True)
2841
2841
  opts.disable_ipv6 = _val("disable_ipv6", True)
2842
+ opts.tcp_ttl = _val("tcp_ttl")
2843
+ opts.tcp_window_size = _val("tcp_window_size")
2844
+ opts.tcp_window_scale = _val("tcp_window_scale")
2845
+ opts.tcp_mss = _val("tcp_mss")
2842
2846
  opts.catch_panics = _val("catch_panics", True)
2843
2847
  opts.with_debug = _val("with_debug", True)
2848
+
2844
2849
 
2845
2850
  # String fields
2846
2851
  for name, field in [
@@ -3161,6 +3166,10 @@ class AsyncSession:
3161
3166
  catch_panics: Optional[bool] = None,
3162
3167
  # 覆盖调试日志 / Override debug logging
3163
3168
  with_debug: Optional[bool] = None,
3169
+ tcp_ttl: Optional[int] = None,
3170
+ tcp_window_size: Optional[int] = None,
3171
+ tcp_window_scale: Optional[int] = None,
3172
+ tcp_mss: Optional[int] = None,
3164
3173
  **kwargs: Any,
3165
3174
  ) -> Response:
3166
3175
  """通过 Go 引擎执行单次 HTTP 请求(异步)。
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tls-client-python
3
- Version: 1.15.0.3
3
+ Version: 1.15.0.4
4
4
  Summary: High-performance Python binding for bogdanfinn/tls-client via CFFI – zero-copy, panic-proof, full TLS fingerprint control
5
5
  Author: komAAmok
6
6
  License-Expression: MIT