kubo/core
Marcin Rataj 3182986151 fix(gw): ensure dir URLs have trailing slash
This fixes a regression around directory listing and index.html hosting.
Seems that during one of recent refactors code changed and we no longer
check for trailing slash in HTTP request path, but look at content path
instead.

This cleans this up and also ensures dir behavior is the same for
both index.html hosting and dir-index-html (generated listing).

It also adds more tests so we catch any future regressions.
2022-07-21 21:06:18 +02:00
..
bootstrap fix(tracing): remove event tracing 2020-01-28 21:31:12 -08:00
commands fix: kubo in daemon and cli stdout 2022-07-20 16:26:49 +02:00
coreapi refactor: rename to kubo 2022-07-06 18:40:37 +02:00
coredag chore: replace ioutil with io and os (#8969) 2022-06-14 12:37:02 -04:00
corehttp fix(gw): ensure dir URLs have trailing slash 2022-07-21 21:06:18 +02:00
corerepo refactor: rename to kubo 2022-07-06 18:40:37 +02:00
coreunix refactor: rename to kubo 2022-07-06 18:40:37 +02:00
mock refactor: rename to kubo 2022-07-06 18:40:37 +02:00
node feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
builder.go refactor: rename to kubo 2022-07-06 18:40:37 +02:00
core_test.go feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00
core.go feat(routing): Delegated Routing (#8997) 2022-07-07 17:10:25 -04:00