Skip to content

Detect User-Agent to return Error HTML #65

@dkundel

Description

@dkundel

Right now we return a pretty Error page regardless of who requests it.
This is great for the browser but not great for the Twilio Debugger. We should return a text/plain response in that case.

The easiest way for this would be to detect the browser through a User-Agent and otherwise return text/plain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions