mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
chore: dir-index-html 1.2.1
release notes: https://github.com/ipfs/dir-index-html/releases/tag/1.2.1
This commit is contained in:
parent
3ed46d995f
commit
4deaf050d7
@ -1 +1 @@
|
||||
Subproject commit 92efd3dfd1cdaf2ca50b34b2b5d1243c5dcc8af7
|
||||
Subproject commit 5c6147fd02e88b0a235ac655f58741436a2f2b80
|
||||
@ -71,13 +71,13 @@ DIR_HOSTNAME="${DIR_CID}.ipfs.localhost"
|
||||
# note: we skip DNS lookup by running curl with --resolve $DIR_HOSTNAME:127.0.0.1
|
||||
|
||||
test_expect_success "path gw: backlink on root CID should point origin root" '
|
||||
curl -sD - --resolve $DIR_HOSTNAME:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ > list_response &&
|
||||
curl -sD - --resolve $DIR_HOSTNAME:$GWAY_PORT:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ > list_response &&
|
||||
test_should_contain "Index of" list_response &&
|
||||
test_should_contain "<a href=\"/\">..</a>" list_response
|
||||
'
|
||||
|
||||
test_expect_success "path gw: Etag should be present" '
|
||||
curl -sD - --resolve $DIR_HOSTNAME:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ą/ę > list_response &&
|
||||
curl -sD - --resolve $DIR_HOSTNAME:$GWAY_PORT:127.0.0.1 http://$DIR_HOSTNAME:$GWAY_PORT/ą/ę > list_response &&
|
||||
test_should_contain "Index of" list_response &&
|
||||
test_should_contain "Etag: \"DirIndex-" list_response
|
||||
'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user