Inspired by the --check-status/--no-check-status flags, instead of a --stream option accepting a boolean value, we will have --stream/--no-stream to allow the user to opt in or out of response streaming.
xh postman-echo.com/server-events/5 → content type determines if streaming should be enabled or not
xh postman-echo.com/server-events/5 --stream → opt-in to response streaming
xh postman-echo.com/server-events/5 --no-stream → opt-out of response streaming
Inspired by the
--check-status
/--no-check-status
flags, instead of a--stream
option accepting a boolean value, we will have--stream
/--no-stream
to allow the user to opt in or out of response streaming.xh postman-echo.com/server-events/5
→ content type determines if streaming should be enabled or notxh postman-echo.com/server-events/5 --stream
→ opt-in to response streamingxh postman-echo.com/server-events/5 --no-stream
→ opt-out of response streaming