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)

All
Other
enhancement
Not set
normal

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
Blocks: 1063168
Severity: normal → enhancement
Flags: needinfo?(lcrouch)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(lcrouch)
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.