Consider HTTP Status Code 408 for timeout in extractStrictEntity


I have a service that uses extractStrictEntity. Sometimes the timeout to extract the strict entity from the request is exceeded and this failure gets translated to 500 Internal Server Error.

I suggest it should be mapped to 408 Request Timeout in the default exception handler of Akka HTTP.

I am not 100% sure this would be the correct behavior. Opinions?


Hi Sven,

thanks for the suggestion. It sounds reasonable for me. Can you file a ticket at Github for that?


Created a ticket here: