[go: up one dir, main page]

Skip to content

Draft: PoC: register file transport and serve zip from disk

Simple PoC that uses http.NewFileTransport to register a file scheme as a RoundTripper.

All URLs should relative to the path used when initializing the http.FileSystem via http.Dir("/path/to/dir"). So the transport will succeed for a URL file:///path/to/archive.zip. Meaning that the file exists under /path/to/dir/path/to/archive.zip


Related to #485 (closed)

Edited by Jaime Martinez

Merge request reports

Loading