Closed
Bug 1063611
Opened 11 years ago
Closed 11 years ago
[Compat Data] /api/browsers/ should redirect to /api/browsers
Categories
(developer.mozilla.org Graveyard :: General, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwhitlock, Unassigned)
References
Details
(Whiteboard: [specification][type:feature])
What problems would this solve?
===============================
JSON API specifies that resource URIs do not end in a slash, but other client libraries assume they do. The API router should redirect to the slash less version instead of returning 404 Not Found
Who would use this?
===================
Developers that want to use opinionated client libraries
What would users see?
=====================
Developers would see a redirect to the slash less version
What would users do? What would happen as a result?
===================================================
Developers would get to use client libraries that assumed trailing slashes and followed redirects.
Is there anything else we should know?
======================================
Github issue: https://github.com/jwhitlock/web-platform-compat/issues/12
| Reporter | ||
Comment 1•11 years ago
|
||
Fixed in https://github.com/jwhitlock/web-platform-compat/commit/deec47e7dbd36f943ce273e230c890af8639debd
:groovecoder - can you close this as fixed?
Flags: needinfo?(lcrouch)
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(lcrouch)
Resolution: --- → FIXED
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•