Open
Description
Endpoints v1 (part of the appengine SDK) and Endpoints v2 (this library) don't work the same way with trailing slashes.
Endpoints v1:
- endpoint that doesn't have trailing slash in definition (example: path = 'path/without-trailing-slash'):
- GET with trailing slash 'path/without-trailing-slash/' — OK
- GET without trailing slash 'path/without-trailing-slash' — OK
- endpoint that does have trailing slash in definition (example: path= 'path/with-trailing-slash/'):
- GET with trailing slash 'path/with-trailing-slash/' — OK
- GET without trailing slash 'path/with-trailing-slash' — OK
Endpoints v2:
- endpoint that doesn't have trailing slash in definition (example: path = 'path/without-trailing-slash'):
- GET with trailing slash 'path/without-trailing-slash/' — OK
- GET without trailing slash 'path/without-trailing-slash' — OK
- endpoint that does have trailing slash in definition (example: path= 'path/with-trailing-slash/'):
- GET with trailing slash 'path/with-trailing-slash/' — OK
- GET without trailing slash 'path/with-trailing-slash' — FAIL (404 Not found)
Please correct the implementation of Endpoints v2 to match the behavior of Endpoints v1.
Metadata
Metadata
Assignees
Labels
No labels