We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092207b commit 2bbc216Copy full SHA for 2bbc216
aikido_zen/background_process/routes/init_test.py
@@ -1,5 +1,6 @@
1
from aikido_zen.background_process.routes import Routes
2
from aikido_zen.api_discovery.get_api_info import get_api_info
3
+from aikido_zen.helpers.headers import Headers
4
5
6
class Context:
@@ -18,8 +19,11 @@ def __init__(
18
19
self.route = path
20
self.body = body
21
self.xml = xml
- self.headers = headers
22
- self.headers["CONTENT_TYPE"] = content_type
+ self.raw_headers = headers
23
+ self.raw_headers["CONTENT_TYPE"] = content_type
24
+ self.headers = Headers()
25
+ for k, v in self.raw_headers.items():
26
+ self.headers.store_header(k, v)
27
self.query = query
28
self.cookies = cookies
29
0 commit comments