How to override the RequestEntityTooLarge/413 default response from spray-can?
245 views
Skip to first unread message
Fernando Romero
unread,
Oct 31, 2016, 8:08:12 AM10/31/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to spray.io 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.