Skip to content

Add support for StreamingHttpResponse #86

@maurizi

Description

@maurizi

This is likely to be a better performing default for most people than a standard HttpResponse, but since StreamingHttpResponse is not a subclass of HttpResponse and has a different API, making it the default would be a breaking change (and we would add a non_streaming option to restore the old behaviour).

We could instead make it an optional feature by adding a render_to_streaming_csv_response function or adding an optional streaming option to render_csv_to_response.

See the Django docs for a general overview of StreamingHttpResponse and how to use it with CSVs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions