Closed Bug 1063611 Opened 7 years ago Closed 7 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
Fixed in https://github.com/jwhitlock/web-platform-compat/commit/deec47e7dbd36f943ce273e230c890af8639debd
:groovecoder - can you close this as fixed?
Flags: needinfo?(lcrouch)
Status: UNCONFIRMED → RESOLVED
Closed: 7 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.