Skip to content

Unable To Parse Original Request In Response #23

@gha88

Description

@gha88

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions