Bimba.git

commit 05ed5cdfd9ae9170f6093e4b9286dd2abb4f3fc5

Author: Adam Pioterek <adam.pioterek@protonmail.ch>

converter: x-header for uncompressed size

 converter/gtfs.php | 1 +


diff --git a/converter/gtfs.php b/converter/gtfs.php
index ef24767aebb950cb5af6c3de5c69f30abd50c358..8a4195475aada7d52d867d2e9ab3bb176e033637 100644
--- a/converter/gtfs.php
+++ b/converter/gtfs.php
@@ -29,6 +29,7 @@     header("ETag: $current");
     header('Content-Type: application/octet-stream');
     header('Content-Disposition: attachment; filename="timetable.db.gz"');
     header('Content-Length: ' . filesize("$current.db.gz"));
+    header('X-Uncompressed-Content-Length: ' . $sizeU);
     readfile("$current.db.gz");
 }
 ?>