Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
- Added requirements.txt
- Fixes issue FlorianREGAZ/Python-Tls-Client#129
  • Loading branch information
rsb-23 committed Nov 24, 2024
1 parent 7f892a8 commit 70da10d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,5 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/
/tls_client/.idea
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests==2.32.3
typing_extensions~=4.12.2
2 changes: 1 addition & 1 deletion tls_client/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def build_response(res: Union[dict, list], res_cookies: RequestsCookieJar, filep
# Add status code
response.status_code = res["status"]
# Add headers
response_headers = {}
response_headers = CaseInsensitiveDict()
if res["headers"] is not None:
for header_key, header_value in res["headers"].items():
if len(header_value) == 1:
Expand Down

0 comments on commit 70da10d

Please sign in to comment.