about summary refs log tree commit diff
path: root/www
diff options
context:
space:
mode:
authorUltraQbik <no1skill@yandex.ru>2024-08-24 17:54:07 +0300
committerUltraQbik <no1skill@yandex.ru>2024-08-24 17:54:07 +0300
commit9c78cc1783af4202313a58f922b9c1cad900d0c3 (patch)
tree7c05ee402b5883c2ba192746030776cf0cfb1d6d /www
parent5af071d2e8a745a70fa238230995a83766767cb9 (diff)
downloadhttpy-9c78cc1783af4202313a58f922b9c1cad900d0c3.tar.gz
httpy-9c78cc1783af4202313a58f922b9c1cad900d0c3.zip
Update to data streams
Instead of sending full files, and therefore storing them in ram (which is not always possible), send data in chunks of 64KiB
Diffstat (limited to 'www')
-rw-r--r--www/test.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/test.html b/www/test.html
index f7b7b27..77d376d 100644
--- a/www/test.html
+++ b/www/test.html
@@ -11,10 +11,15 @@
     </header>
     <div id="section-div">
         <section>
+            <h1> APIv1 Testing page </h1>
+            <p> You are supposed to see that, it's not a bug </p>
+            <p> This is a small API / webserver testing page, so feel free to click on downloads to see if they work </p>x
+        </section>
+        <section>
             <h1> File download test </h1>
-            <p> <a href="/APIv1/file/random?size=128mib" target="_blank">Download 128 MiB file</a> </p>
-            <p> <a href="/APIv1/file/random?size=512mib" target="_blank">Download 512 MiB file</a> </p>
-            <p> <a href="/APIv1/file/random?size=1gib" target="_blank">Download 1 GiB file</a> </p>
+            <p> <a href="/APIv1/file/random?size=128mib" target="_blank">Download random 128 MiB file</a> </p>
+            <p> <a href="/APIv1/file/random?size=512mib" target="_blank">Download random 512 MiB file</a> </p>
+            <p> <a href="/APIv1/file/random?size=1gib" target="_blank">Download random 1 GiB file</a> </p>
         </section>
     </div>
     <footer>