Skip to content

Response doesn't always receive request's URL #48

Description

@rodrigoccurvo

When a mock function returns a string, the response's URL is not set with the request's. I'm not sure if this is on purpose, but it seems the request is not passed as a parameter here:

        elif isinstance(res, (text_type, binary_type)):
            return response(content=res, stream=kwargs.get('stream', False))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions