-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Implement respondBytes
similar to responding with text
#395
Comments
I was pretty sure we have
And use it like
|
respondBytes
similar to responding with text
Thank you for the workaround: it works. Looking forward to the next ktor release. |
cy6erGn0m
pushed a commit
that referenced
this issue
May 3, 2018
schleinzer
pushed a commit
to schleinzer/ktor
that referenced
this issue
Feb 26, 2019
schleinzer
pushed a commit
to schleinzer/ktor
that referenced
this issue
Feb 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a
resources
page that delivers binary content in a safe way, either from a backing file, a resource, or dynamically calculated content (like PNG, SVG, ICO, MP3, ...):Since 0.9.1 I get an exception (was no problem in 0.9.0):
When I omit the setting of the content type, the browser rightfully complains:
How can I solve the situation and still have a generic content producer page?
The text was updated successfully, but these errors were encountered: