Skip to content

Interception of "streaming" responses causes issues #1603

@avengerweb

Description

@avengerweb

Telescope Version

5.9.1

Laravel Version

12

PHP Version

8.1

Database Driver & Version

No response

Description

Whenever there is "streaming" response or text/event-stream response telescope intercepts it leading to response being empty for both telescope and whoever made request call.
Such requests are made by for example GenAI libraries (ex. prismphp)

Steps To Reproduce

You can create dummy api for SSE, some article to implement it in laravel:
https://medium.com/@ahmedm3bead/implementing-server-sent-events-sse-in-laravel-a01da635485b

Then call it using standard laravel Http client, if telescope enabled you will receive no response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions