Update utils.py
This commit is contained in:
@@ -79,6 +79,7 @@ def stripper(string, substring, direction='right'):
|
||||
|
||||
|
||||
def extractHeaders(headers):
|
||||
headers = headers.replace('\\n', '\n')
|
||||
sorted_headers = {}
|
||||
matches = re.findall(r'(.*):\s(.*)', headers)
|
||||
for match in matches:
|
||||
|
||||
Reference in New Issue
Block a user