diff --git a/dotextensions/server/handlers/basic_handlers.py b/dotextensions/server/handlers/basic_handlers.py index fbbe0d4..d7dac58 100644 --- a/dotextensions/server/handlers/basic_handlers.py +++ b/dotextensions/server/handlers/basic_handlers.py @@ -181,6 +181,7 @@ def get_request_result(self, command, comp: RequestCompiler): data = {} data.update(response_data["response"]) # deprecated data.update(response_data) + data["request_headers"] = dict(resp.request.headers) if not comp.args.no_cookie and "cookie" in resp.request.headers: # redirects can add cookies comp.httpdef.headers["cookie"] = resp.request.headers["cookie"] diff --git a/pyproject.toml b/pyproject.toml index aa22d2c..2d2aa2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dothttp-req" -version = "0.0.44a32" +version = "0.0.44a33" description = "Dothttp is Simple http client for testing and development" authors = ["Prasanth "] license = "MIT"