Project: mule
Issue MULE-8094: HTTP Listener with Basic Auth should return status code 401 when authentication fails
When using the Basic-Auth with the new Module Http Listener it returns a 500 status code but it would be better to return a 401 like the old http does. Example: In the first flow (listenerBasicAuth) using the tag: - or - after the listener it returns a 500 in an invalid authentication. But with the old HTTP, in the second flow ("httpInboundBasicAuth") it returns a 401.
Story points: 5