Skip to content

Conversation

maycuatroi1
Copy link
Contributor

Description

I encountered an error with the assert statement due to incorrect logging. Upon reviewing the HttpResponseBase class, I discovered that its subclass should be StreamingHttpResponse instead of HttpStreamingResponse.
image

Reference: https://github.com/django/django/blob/b231bcd19e57267ce1fc21d42d46f0b65fdcfcf8/django/http/response.py#L432

@maycuatroi1
Copy link
Contributor Author

image
Ref official document

@auvipy auvipy added this to the 3.15 milestone Mar 17, 2024
@auvipy auvipy merged commit 337ba21 into encode:master Mar 17, 2024
@auvipy auvipy added the Bug label Mar 17, 2024
@maycuatroi1 maycuatroi1 deleted the patch-1 branch March 19, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants