File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ ## [ 0.5.1 - 2023-11-xx]
6
+
7
+ ### Fixed
8
+
9
+ - ` headers ` can now be ` httpx.Headers ` and not only ` dict ` . #158
10
+
5
11
## [ 0.5.0 - 2023-10-23]
6
12
7
13
### Added
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ def _create_adapter(self) -> Client:
424
424
return adapter
425
425
426
426
def sign_request (self , headers : dict ) -> None :
427
- headers [ "AUTHORIZATION-APP-API" ] = b64encode (f"{ self ._user } :{ self .cfg .app_secret } " .encode ("UTF=8" ))
427
+ headers . update ({ "AUTHORIZATION-APP-API" : b64encode (f"{ self ._user } :{ self .cfg .app_secret } " .encode ("UTF=8" ))} )
428
428
429
429
def sign_check (self , request : Request ) -> None :
430
430
headers = {
You can’t perform that action at this time.
0 commit comments