Skip to content

Commit d724121

Browse files
author
Florian
committed
fixed sending form data
1 parent b5e5f50 commit d724121

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tls_client/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
__title__ = "tls_client"
88
__description__ = "Advanced Python HTTP Client."
9-
__version__ = "0.1.7"
9+
__version__ = "0.1.8"
1010
__author__ = "Florian Zager"
1111
__license__ = "MIT"

tls_client/sessions.py

+1
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def execute_request(
269269
# check if all header keys and values are strings
270270
if type(header_key) is str and type(header_value) is str:
271271
self.headers[header_key] = header_value
272+
headers = self.headers
272273
else:
273274
headers = self.headers
274275

0 commit comments

Comments
 (0)