Skip to content

Allow registering a file protocol in the zip VFS

Jaime Martinez requested to merge 485-use-httpfs-with-httprange into master

Moves the http.Client initialization inside the httprange package to the zip VFS. This makes the type Resource depend on an http.Client that needs to be passed on initialization.

It also makes the zip VFS initialize the client. It's possible to reconfigure it to register a file protocol by calling vfs.Reconfigure explicitly.

Extra tests will be added in !430 (merged)

Depends on !428 (merged)

Related to #485 (closed) and #457 (closed)

Edited by Jaime Martinez

Merge request reports