Skip to content
  • Jaime Martinez's avatar
    Refactor http client usage in httprage · 95048711
    Jaime Martinez authored
    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.
    95048711