I was wondering if there is any chance to customize response from
HttpServerBluePrint. Currently for any parsing related (p.e URI too long) error it returns error’s status code with some default code’s message in text format(it uses
ErrorInfo class), however I would like it to return message in Json format, or even modify returned message.
Any chance I can do that?
Akka http 10.1.9
Response for too long URI:
Illegal request, responding with status '414 Request-URI Too Long': URI length exceeds the configured limit of X characters