kubo/core/corehttp
JP Hastings-Spital dfceafdbd3 Gateway renders pretty 404 pages if available
In the same way that an `index.html` file is rendered, if one is present, when the
requested path is a directory, now an `ipfs-404.html` file is rendered if
the requested file is not present within the specified IPFS object.

`ipfs-404.html` files are looked for in the directory of the requested path and each
parent until one is found, falling back on the well-known 404 error message.

License: MIT
Signed-off-by: JP Hastings-Spital <jphastings@gmail.com>
2020-05-19 14:41:21 -07:00
..
commands.go HTTP API: Disallow GET requests on API 2020-04-05 09:57:57 +02:00
corehttp.go Fix typos and cleanup 2020-04-20 22:00:01 +03:00
gateway_handler.go Gateway renders pretty 404 pages if available 2020-05-19 14:41:21 -07:00
gateway_indexPage.go show hash if not in original url 2019-01-05 11:16:17 -08:00
gateway_test.go Gateway renders pretty 404 pages if available 2020-05-19 14:41:21 -07:00
gateway.go http: use Method* constants 2020-01-10 10:19:08 +01:00
hostname_test.go feat(gateway): subdomain and proxy gateway 2020-03-18 08:50:38 -07:00
hostname.go fix(gateway): curl without redirect on localhost 2020-03-18 08:50:40 -07:00
lazyseek_test.go test(gateway): test the lazy seeker 2020-01-05 16:43:45 -08:00
lazyseek.go fix(gateway): fix seek read length typo 2020-01-05 16:43:45 -08:00
logs.go fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
metrics_test.go migrate to go-libp2p-core. 2019-05-31 23:23:52 -07:00
metrics.go pass opts.Namespace along like before 2019-10-23 10:46:11 +10:00
mutex_profile.go fix: use http.Error for sending errors 2019-05-25 10:45:17 -07:00
option_test.go http: use Method* constants 2020-01-10 10:19:08 +01:00
p2p_proxy_test.go rename ProxyOption to P2PProxyOption 2020-03-17 19:34:44 -07:00
p2p_proxy.go rename ProxyOption to P2PProxyOption 2020-03-17 19:34:44 -07:00
redirect.go fix the wrong path configuration in root redirection 2019-04-15 12:35:45 +09:00
webui.go feat: webui 2.7.5 2020-04-17 20:10:21 +01:00