Inconsistency in responses from Cloudify REST API on invalid endpoints

Description

There is inconsistency in responses from REST API when invalid endpoint is specified.

For example if you request

you will get HTTP 404 - NOT FOUND response. That's OK.

And when you request

you'll get HTTP 200 - OK response and HTML site in the body. That's confusing.

Assignee

Łukasz Maksymczuk

Reporter

Jakub Niezgoda

Labels

Bug Type

legacy bug

Target Version

4.3

Severity

None

Fix versions

Affects versions

Configure