Closes #21788: Return CSV export as a streaming response (#21974)

This commit is contained in:
Jeremy Stretch
2026-04-23 12:45:15 -04:00
committed by GitHub
parent df02abbbdf
commit 0563cc4585
6 changed files with 114 additions and 6 deletions

View File

@@ -123,6 +123,18 @@ The maximum size (in bytes) of an incoming HTTP request (i.e. `GET` or `POST` da
---
## STREAMING_EXPORTS
!!! note "This parameter was introduced in NetBox v4.6."
Default: `False`
When set to `True`, CSV bulk exports are returned as a streaming HTTP response, emitting rows to the client as they are rendered rather than buffering the entire dataset in memory first. This can significantly reduce memory usage and time-to-first-byte for very large exports.
Because streaming responses do not have a `Content-Length` header and defer errors until after the response has begun, this behavior is opt-in.
---
## ENFORCE_GLOBAL_UNIQUE
!!! tip "Dynamic Configuration Parameter"