HomeSoftware Heritage

apidoc: fix behaviour on doc routes

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:21 AM
Differential Revision
D109: API: fix apidoc behaviour
Parents
rDWAPPSb614d3b486ff: Update requirements for new apidoc
Branches
Unknown
Tags
Unknown