Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept text/plain for raw output #1308

Closed
steve-chavez opened this issue May 28, 2019 · 2 comments · Fixed by #1330
Closed

Accept text/plain for raw output #1308

steve-chavez opened this issue May 28, 2019 · 2 comments · Fixed by #1330
Labels
enhancement a feature, ready for implementation

Comments

@steve-chavez
Copy link
Member

steve-chavez commented May 28, 2019

This was requested in https://gitter.im/begriffs/postgrest?at=5c795fbc212d0c1e1ab76821. It'll be only adding text/plain as another way to get raw output since pg string_agg also works for text.

@steve-chavez
Copy link
Member Author

This also reminds me of the request for text/html by @ryanfmurphy in #986 (comment).

Seems like an interesting use case that is really simple to support, so we could add it as an option to get raw output as well.

@steve-chavez
Copy link
Member Author

All of these media types would be like an alias for application/octet-stream, which we already support http://postgrest.org/en/v5.2/api.html#binary-output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement a feature, ready for implementation
Development

Successfully merging a pull request may close this issue.

1 participant