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

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

Open
rodrigoccurvo opened this issue Nov 23, 2016 · 0 comments
Open

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

rodrigoccurvo opened this issue Nov 23, 2016 · 0 comments

Comments

@rodrigoccurvo
Copy link

rodrigoccurvo commented Nov 23, 2016

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))
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