Neutron's endpoint cannot tell the difference between '-' and '_'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Low
|
Hongbin Lu |
Bug Description
The current neutron API seems to treat '-' and '_' the same. For example, both "/v2.0/
$ curl -g -i -X GET http://
HTTP/1.1 200 OK
$ curl -g -i -X GET http://
HTTP/1.1 200 OK
$ curl -g -i -X GET http://
HTTP/1.1 200 OK
$ curl -g -i -X GET http://
HTTP/1.1 200 OK
IMHO, neutron should be strict between '-' and '_'. For example, the second and third commands above should fail or we should update the API documentation about that.
tags: | added: api |
Changed in neutron: | |
assignee: | nobody → Hongbin Lu (hongbin.lu) |
tags: | added: doc |
Changed in neutron: | |
importance: | Undecided → Low |
IMO this should be only well documented. Changing it in API may cause failures on clients so it should be discoverable as any other API change. I'm not sure if that is worth to do :)