How to override the RequestEntityTooLarge/413 default response from spray-can?

Skip to first unread message

Fernando Romero

Oct 31, 2016, 8:08:12 AM10/31/16
to User List
Hello. I have been trying to override the response spray-can is sending back when there is a RequestEntityTooLarge error. Directives like mapResponse at routing level do not work since this is done at spray-can parsing. I need to return a json message when this happens.

Thanks in advance.
Reply all
Reply to author
0 new messages