Skip to content

Response.send should return a list instead of a bytestring #19

@florentx

Description

@florentx

currently the WSGI server iterates on all chars of the output instead of sending the output string all-at-once.

-    return self.output
+    return [self.output]

I noticed this glitch while working on fiole.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions