diff --git a/examples/hello-world.cdb b/examples/hello-world.cdb index e9784eb..050ffb8 100644 Binary files a/examples/hello-world.cdb and b/examples/hello-world.cdb differ diff --git a/examples/hello-world.cdb-dump b/examples/hello-world.cdb-dump index 67bb002..d59dd7b 100644 --- a/examples/hello-world.cdb-dump +++ b/examples/hello-world.cdb-dump @@ -92,10 +92,6 @@ m000000cd0000006 m000000c h0000001Zaad301h0000018H0000001h000002cZaco4d4c8494af06c18d7c0ff210c832b6f76596631dda1ab4cef4aeae14ed2cdc82h000003fZaaj/hello-07 -+8,16 -f:/index -m0000001d0000002 - +12,16 f:/index.txt m0000001d0000002 @@ -106,233 +102,337 @@ m000000dd000000e +8,140 m000000d -h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZacoa4e718fdd63f51c8688b106aa8ba26fa435972af1d2ec5a8eda8fd0980afc737 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZacocecf4b42c92f7036dd04a9224d18a73ecce18684eb61ee9dfc9e669985984d61 -+8,126 ++8,159 d000000e -{"entries":[{"name":"redirects","type":"folder"},{"name":"status-200","type":"folder"},{"name":"status-404","type":"folder"}]} +{"entries":[{"name":"index","type":"folder"},{"name":"redirects","type":"folder"},{"name":"status-200","type":"folder"},{"name":"status-404","type":"folder"}]} -+19,16 -l:/tests/redirects/ ++15,16 +f:/tests/index/ m000000fd0000010 +8,140 m000000f +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000011h000002cZacof07524ed5a4a08072b6ed0e2ba1398723a09871466cf770cbadabcc75f0dd33e + ++8,14 +d0000010 + + + ++15,16 +l:/tests/index/ +m0000011d0000012 + ++8,140 +m0000011 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZacoe951b531017192ba564aa22e5d4d5e9cdea5b0e12470c35e72752b1953e5c9c0 + ++8,255 +d0000012 +{"entries":[{"name":"index.html","type":"file","size":14},{"name":"index.json","type":"file","size":3},{"name":"index.txt","type":"file","size":4},{"name":"index.xml","type":"file","size":12}],"indices":["index.html","index.txt","index.json","index.xml"]} + ++25,16 +f:/tests/index/index.html +m000000fd0000010 + ++25,16 +f:/tests/index/index.json +m0000013d0000014 + ++8,140 +m0000013 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZacoa7c4d54776fcb179f048728766a52d75dc450cc2a5072b7e2c238aa9b2cff3b6 + ++8,3 +d0000014 +{} + + ++24,16 +f:/tests/index/index.txt +m0000015d0000016 + ++8,140 +m0000015 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H000000fh000002cZacoec8381d501873500362eaa2005e041a4b3c77d22fcec2de02b501bfb4ebea1ab + ++8,4 +d0000016 +txt + + ++24,16 +f:/tests/index/index.xml +m0000017d0000018 + ++8,140 +m0000017 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000015h000002cZaco2c43c75f22b1c05b8626c42d29b13bd0bf621de409f3f061d5e0a5b15c001da7 + ++8,12 +d0000018 + + + ++19,16 +l:/tests/redirects/ +m0000019d000001a + ++8,140 +m0000019 h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZaco6e46dd10defc9b56c29a6ec56b508c21f54c08192194e4df25bf36f0c9c3c279 +8,2 -d0000010 +d000001a {} +21,16 r:/tests/redirects/91 -m0000011d0000006 +m000001bd0000006 +8,128 -m0000011 +m000001b h0000001Zaad307h0000018H0000001h000002cZaco58dd91c8086c180b8d4b828554618e0bf7c546b99d14630240e20b2b9296e913h000003fZaaj/hello-91 +22,16 r:/tests/redirects/92/ -m0000012d0000006 +m000001cd0000006 +8,128 -m0000012 +m000001c h0000001Zaad307h0000018H0000001h000002cZaco4c79e594135b8124f473c37a8c98280dedb49776d879c0defccbae1725252b7ah000003fZaaj/hello-92 +23,16 r:/tests/redirects/93/* -m0000013d0000006 +m000001dd0000006 +8,128 -m0000013 +m000001d h0000001Zaad307h0000018H0000001h000002cZaco9879530863f118f9329952c85763c52cb649a3b808079eb2969ab651d8d6c2f8h000003fZaaj/hello-93 +20,16 l:/tests/status-200/ -m000000fd0000010 +m0000019d000001a +21,16 f:/tests/status-200/* -m0000014d0000015 +m000001ed000001f +8,140 -m0000014 +m000001e h0000001H000000dh0000018H0000001h000001dH0000003h0000026H000000fh000002cZaco289220028fc1b56bc1f8afb2b26c9c87b40898409a5c519defc6c15bd4242bcb +8,17 -d0000015 +d000001f Anything is 200! +20,16 l:/tests/status-404/ -m000000fd0000010 +m0000019d000001a +21,16 f:/tests/status-404/* -m0000016d0000017 +m0000020d0000021 +8,140 -m0000016 +m0000020 h0000001H000000eh0000018H0000001h000001dH0000003h0000026H000000fh000002cZaco09c18884511967b78751fd4614620efa112760d039edecf044a42233701cbb7d +8,17 -d0000017 +d0000021 Anything is 404! -+9,16 -r:/index/ -m0000018d0000006 - -+8,49 -m0000018 -h0000001Zaad308h0000018H0000001h000003fZaag/index - +13,16 r:/index.txt/ -m0000019d0000006 +m0000022d0000006 +8,53 -m0000019 +m0000022 h0000001Zaad308h0000018H0000001h000003fZaak/index.txt +15,16 r:/redirect-01/ -m000001ad0000006 +m0000023d0000006 +8,55 -m000001a +m0000023 h0000001Zaad308h0000018H0000001h000003fZaam/redirect-01 +15,16 r:/redirect-02/ -m000001bd0000006 +m0000024d0000006 +8,55 -m000001b +m0000024 h0000001Zaad308h0000018H0000001h000003fZaam/redirect-02 +15,16 r:/redirect-05/ -m000001cd0000006 +m0000025d0000006 +8,55 -m000001c +m0000025 h0000001Zaad308h0000018H0000001h000003fZaam/redirect-05 +14,16 r:/redirect-06 -m000001dd0000006 +m0000026d0000006 +8,56 -m000001d +m0000026 h0000001Zaad308h0000018H0000001h000003fZaan/redirect-06/ +14,16 r:/redirect-07 -m000001ed0000006 +m0000027d0000006 +8,56 -m000001e +m0000027 h0000001Zaad308h0000018H0000001h000003fZaan/redirect-07/ +8,16 r:/tests -m000001fd0000006 +m0000028d0000006 +8,50 -m000001f +m0000028 h0000001Zaad308h0000018H0000001h000003fZaah/tests/ ++14,16 +r:/tests/index +m0000029d0000006 + ++8,56 +m0000029 +h0000001Zaad308h0000018H0000001h000003fZaan/tests/index/ + ++26,16 +r:/tests/index/index.html/ +m000002ad0000006 + ++8,66 +m000002a +h0000001Zaad308h0000018H0000001h000003fZaax/tests/index/index.html + ++26,16 +r:/tests/index/index.json/ +m000002bd0000006 + ++8,66 +m000002b +h0000001Zaad308h0000018H0000001h000003fZaax/tests/index/index.json + ++25,16 +r:/tests/index/index.txt/ +m000002cd0000006 + ++8,65 +m000002c +h0000001Zaad308h0000018H0000001h000003fZaaw/tests/index/index.txt + ++25,16 +r:/tests/index/index.xml/ +m000002dd0000006 + ++8,65 +m000002d +h0000001Zaad308h0000018H0000001h000003fZaaw/tests/index/index.xml + +18,16 r:/tests/redirects -m0000020d0000006 +m000002ed0000006 +8,60 -m0000020 +m000002e h0000001Zaad308h0000018H0000001h000003fZaar/tests/redirects/ +22,16 r:/tests/redirects/91/ -m0000021d0000006 +m000002fd0000006 +8,62 -m0000021 +m000002f h0000001Zaad308h0000018H0000001h000003fZaat/tests/redirects/91 +21,16 r:/tests/redirects/92 -m0000022d0000006 +m0000030d0000006 +8,63 -m0000022 +m0000030 h0000001Zaad308h0000018H0000001h000003fZaau/tests/redirects/92/ +21,16 r:/tests/redirects/93 -m0000023d0000006 +m0000031d0000006 +8,63 -m0000023 +m0000031 h0000001Zaad308h0000018H0000001h000003fZaau/tests/redirects/93/ +19,16 r:/tests/status-200 -m0000024d0000006 +m0000032d0000006 +8,61 -m0000024 +m0000032 h0000001Zaad308h0000018H0000001h000003fZaas/tests/status-200/ +19,16 r:/tests/status-404 -m0000025d0000006 +m0000033d0000006 +8,61 -m0000025 +m0000033 h0000001Zaad308h0000018H0000001h000003fZaas/tests/status-404/ +19,16 r:://*/redirect-04/ -m0000026d0000006 +m0000034d0000006 +8,55 -m0000026 +m0000034 h0000001Zaad308h0000018H0000001h000003fZaam/redirect-04 +22,16 r:://host/redirect-03/ -m0000027d0000006 +m0000035d0000006 +8,55 -m0000027 +m0000035 h0000001Zaad308h0000018H0000001h000003fZaam/redirect-03 -+8,63 ++8,164 F0000001 / /* -/index /index.txt +/tests/index/ +/tests/index/index.html +/tests/index/index.json +/tests/index/index.txt +/tests/index/index.xml /tests/status-200/* /tests/status-404/* -+8,66 ++8,80 L0000001 / /tests/ +/tests/index/ /tests/redirects/ /tests/status-200/ /tests/status-404/ -+8,417 ++8,520 R0000001 /index.txt/ -/index/ /redirect-01 /redirect-01/ /redirect-02 @@ -344,6 +444,11 @@ R0000001 /redirect-07 /redirect-07/* /tests +/tests/index +/tests/index/index.html/ +/tests/index/index.json/ +/tests/index/index.txt/ +/tests/index/index.xml/ /tests/redirects /tests/redirects/91 /tests/redirects/91/ diff --git a/scripts/examples.z-run b/scripts/examples.z-run index 7a4b070..9ef57f1 100644 --- a/scripts/examples.z-run +++ b/scripts/examples.z-run @@ -24,6 +24,7 @@ --archive ./examples/hello-world.cdb \ --include-folder-listing \ --include-etag \ + --exclude-strip \ --progress \ --debug \ "${@}" \