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 22
33All notable changes to this project will be documented in this file.
44
5+ ## [ 0.5.1 - 2023-11-xx]
6+
7+ ### Fixed
8+
9+ - ` headers ` can now be ` httpx.Headers ` and not only ` dict ` . #158
10+
511## [ 0.5.0 - 2023-10-23]
612
713### Added
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ def _create_adapter(self) -> Client:
424424 return adapter
425425
426426 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" ))} )
428428
429429 def sign_check (self , request : Request ) -> None :
430430 headers = {
You can’t perform that action at this time.
0 commit comments