Page MenuHomeVyOS Platform

Return complete and consistent error codes from HTTP API
Closed, ResolvedPublic

Description

To support the HTTP API smoketest, return complete and consistent HTTP error codes. Namely, 50.* errors should no longer redirect to provide an error message; the middleware that translates form-data requests to JSON should return 401, instead of 422, on missing key.

Details

Version
vyos-1.4
Is it a breaking change?
Perfectly compatible