rucio / webui

RucioWebUI (v2.0)
Apache License 2.0
4 stars 14 forks source link

Transform a certain 400 status code response from the rucio server to 404 in the RSE gateway #467

Open MytsV opened 2 weeks ago

MytsV commented 2 weeks ago

Description

Currently when no RSE entries are found for a valid RSE expression a 400 status code response is returned. It would be better to receive a 404 status code on the client, as this allows distinguishing between an invalid request and a situation when nothing is found without investigating the error message.

Motivation

No response

Change

Handle this transformation in the gateway and log it into the console

Additional Information