Skip to content

[HTTP] Add pretty and preview to response bodies #2

@jcoc611

Description

@jcoc611

Requirements

For HTTP responses:

  • A pretty subtype is added to the body component, which uses a formatting and syntax-highlighting similar to VSCode.
  • A safe preview subtype is added to the body component, which renders the response content without downloading any extra resources and without running JavaScript. For now, only text/html rendering is needed, but later could also add images, CSS and JavaScript.
  • It makes sense to make pretty the default (first) subtype

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