You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix unhandled FormatException / HTTP 500 error when parsing oversized integer
values in HTTP Range headers, and ignore suffix ranges that select zero bytes.
Truncate microseconds in addition to milliseconds when comparing file
modification times against If-Modified-Since headers.
Replace static, blocking dart:io operations (such as statSync() and File.existsSync()) with their asynchronous equivalents. This prevents createStaticHandler from blocking the Dart isolate event loop, dramatically
improving performance for highly concurrent web servers.
Add generateETag and maxAge parameters to createStaticHandler and createFileHandler to support ETag and Cache-Control headers.
Default ETags are generated based on file size and modified time.
Redesign the listDirectory HTML output to use a modern, responsive table
layout with inline SVG icons, file sizes, and last modified dates.