HomeSoftware Heritage

apidoc: fix behaviour on doc routes
b8e3167b6985Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

apidoc: fix behaviour on doc routes

The apidoc route clobbered the api route incorrectly when both routes
were the same and the api route was a POST route. The apidoc route now
only renders if the request was a GET if the routes are the same.

Details

Provenance
jbertranAuthored on Aug 25 2016, 10:47 AM
jbertranPushed on Aug 25 2016, 11:16 AM
Differential Revision
D109: API: fix apidoc behaviour

Commit No Longer Exists

This commit no longer exists in the repository.