diff --git a/django-stubs/http/response.pyi b/django-stubs/http/response.pyi index 29ffa90..3bcad2d 100644 --- a/django-stubs/http/response.pyi +++ b/django-stubs/http/response.pyi @@ -83,12 +83,13 @@ class HttpResponse(HttpResponseBase): context: Context resolver_match: ResolverMatch def json(self) -> Any: ... + def getvalue(self) -> bytes: ... class StreamingHttpResponse(HttpResponseBase): content: Any streaming_content: Iterator[Any] def __init__(self, streaming_content: Iterable[Any] = ..., *args: Any, **kwargs: Any) -> None: ... - def getvalue(self) -> Any: ... + def getvalue(self) -> bytes: ... class FileResponse(StreamingHttpResponse): client: Client