depot/web/fup
Luke Granger-Brown 0e69199569 fup: shore up serving and add tests for supported methods
We support several methods of serving assets:

* Redirect to blobstore
    - This requires the backend to support signed URLs.
      We rely on the backend to support HTTP semantics, like supporting
      Range headers.
* Serve-using-http.ServeContent
    - This requires the backend to actually be providing a io.ReadSeeker.
      net/http provides Range/If- conditional support.
* Serve-proxy
    - This is the safest and most compatible method.
      We don't support conditionals nor Range headers. This mode is unlikely
      to be suitable for multimedia, like MP3s or video.
2021-03-21 14:35:04 +00:00
..
cmd fup: add file serving 2021-03-21 03:04:38 +00:00
fuphttp fup: shore up serving and add tests for supported methods 2021-03-21 14:35:04 +00:00
fupstatic fup: add a template function for getting paths to static assets 2021-03-21 03:03:15 +00:00
hashfs fup: move hashfs into its own package. 2021-03-20 23:43:59 +00:00
default.nix fup: fixup 2021-03-21 03:29:34 +00:00
fup.go fup: add viper for persistent config 2021-03-20 23:32:56 +00:00
go.mod fup: add viper for persistent config 2021-03-20 23:32:56 +00:00
go.sum fup: add viper for persistent config 2021-03-20 23:32:56 +00:00
go.sum.license fup: add SPDX headers 2021-03-20 20:40:40 +00:00