lift / lift/framework

Omit size in streamed responses

Open
#1,355 5 comments 0 reactions 1 assignee Claimed by @Shadowfiend View on GitHub
Dominant language
Scala
Stars
1.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

The various streaming response classes can accept a size of -1 to produce an unlimited amount of data, but this isn't immediately obvious. It might make sense to add a default argument of -1, or make the size an Option defaulting to None (None seems more in line with an unknown size than does -1.)

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.