-
I need to respond with mime type |
Beta Was this translation helpful? Give feedback.
Answered by
ilopmar
Aug 27, 2020
Replies: 1 comment
-
You can define any mimetype you want on your controllers: @Get(value = "/foo", produces = "application/x-mpegURL")
public foo() {
...
} or @Produces("application/x-mpegURL")
@Get("/foo")
public foo() {
...
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jameskleeh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can define any mimetype you want on your controllers:
or