ipfs-cluster/api/rest
Hector Sanjuan 70386ea36a restapi: fix #1415: paths ending in / get 307-redirect instead of 301
The Gorilla muxer StrictSlash option uses a 301 permanent redirect, which
results in POST requests becoming GET requests in most clients.  Thus we use
our own middleware that performs a 307 redirect.  See issue #1415 for more
details.
2021-08-11 23:20:45 +02:00
..
client Feat: support adding CAR files 2021-04-21 13:55:06 +02:00
test Issue #162: Add tests for rest.Config 2017-10-19 20:49:18 +02:00
config_test.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00
config.go Fix #937: Print full working configuration at startup 2020-05-15 01:33:04 +02:00
restapi_test.go health/alerts endpoint: brush up old PR 2021-01-13 22:09:21 +01:00
restapi.go restapi: fix #1415: paths ending in / get 307-redirect instead of 301 2021-08-11 23:20:45 +02:00