Skip to content

Mock Server can return arbitrary response formats #17

@dtobe

Description

@dtobe

Currently the route handlers of AietesServer are hard coded to write the response body with the function jsonp, which essentially hard-wires JSON as the response content-type.

Use response.send or similar instead and allow configuring and arbitrary response string and content-type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions