File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
moesifpythonrequest/utility_function Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -51,16 +51,11 @@ def flatten_to_string(self, value):
5151 return ''
5252 return APIHelper .json_serialize (value )
5353
54- # Function to transform the request headers
55- def transform_key (self , key ):
56- key = key .upper ()
57- key = key .replace ('-' , '_' )
58- return key
5954
6055 # Function to create request headers
6156 def create_request_headers (self , req_headers ):
6257 try :
63- req_headers = {self . transform_key ( k ) : v for k , v in req_headers .items ()}
58+ req_headers = {k : v for k , v in req_headers .items ()}
6459 except :
6560 req_headers = {}
6661 return req_headers
Original file line number Diff line number Diff line change 2828 # Versions should comply with PEP440. For a discussion on single-sourcing
2929 # the version across setup.py and the project code, see
3030 # https://packaging.python.org/en/latest/single_source_version.html
31- version = '0.1.3 ' ,
31+ version = '0.1.4 ' ,
3232
3333 description = 'Moesif Python request' ,
3434 long_description = long_description ,
You can’t perform that action at this time.
0 commit comments