Skip to content

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

Jaime Martinez requested to merge poc-add-file-transport-to-zip into master

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