Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable To Parse Original Request In Response #23

Open
gha88 opened this issue Dec 20, 2024 · 0 comments
Open

Unable To Parse Original Request In Response #23

gha88 opened this issue Dec 20, 2024 · 0 comments

Comments

@gha88
Copy link
Contributor

gha88 commented Dec 20, 2024

Hi, as from title seems unable to read the original request in response.

I think the problem is due to this part of the code in response.py

return cls( id=data.get("id", ""), original_request=data.get("original-request", ""), response_time=data.get("responseTime"), timings=data.get("timings"), header=header_list if header_list else header, cookie=cookie_list if cookie_list else None, body=data.get("body"), status=data.get("status", ""), code=data.get("code", 0), )
where in my collection it should be "originalRequest".

Moreover even fixing the string name the conversione from string to Request is not performed even if declared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant