support http 1 and 2#16
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces compatibility abstractions to support both HTTP 1.x and 2.x, defines a new ZarrServer struct with associated management functions, and updates the browzarr entry point and tests accordingly. The review feedback highlights three critical issues: a potential MethodError in start_browzarr when port is nothing, an inefficient file-reading mechanism in serve_zarr that could lead to out-of-memory errors on large Zarr chunks, and an unnecessary memory read of existing .zmetadata files that triggers misleading logs.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
closes #11