Skip to content

Server-sent events explicitly requires --stream #376

@mivade

Description

@mivade

If I have a server-sent event source and try to simply do

http get http://localhost:1729/stream/all

I get output that looks something like this:

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: text/event-stream
Date: Sat, 29 Aug 2015 12:18:00 GMT
Server: TornadoServer/4.2.1
Transfer-Encoding: chunked

followed by none of the streamed data. This can be worked around by setting the --stream flag. However, better behavior would be to automatically enable streaming support when Content-Type is text/event-stream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions