Skip to content

M3u8 mime type for GET path #3977

Answered by ilopmar
jcfrk101 asked this question in Q&A
Discussion options

You must be logged in to vote

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() {
   ...
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jameskleeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants