Skip to content

Check if body is empty string in stream factories #69

@sagikazarmark

Description

@sagikazarmark
Q A
Bug? no
New Feature? yes

Actual Behavior

Currently the stream factories check whether the body is null, and only in that case they don't write to the stream.

Expected Behavior

Empty strings are not written to a stream.

Possible Solutions

Writting an empty string to the stream doesn't make any sense, so we should check that too.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions