[Utils] Build a response with empty body #495
ar4development
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
@ar4development Yes, current functions assumes a body will exist. You can easily modify existing functions or use methods outside of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using proxy to overtake the chunks and then add header to them. So the method is something like
However when I get into
self.response.build_response()
with the response having empty body I getAssertionError
. If to look at that method:It asserts that body exists. How do I then build responses having no bodies?
Beta Was this translation helpful? Give feedback.
All reactions