Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

api: remove cache headers #2214

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions api/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,6 @@ func (s *Server) HandleGetFile(w http.ResponseWriter, r *http.Request) {
respondError(w, r, fmt.Sprintf("cannot resolve %s: %s", uri.Addr, err), http.StatusNotFound)
return
}
} else {
w.Header().Set("Cache-Control", "max-age=2147483648, immutable") // url was of type bzz://<hex key>/path, so we are sure it is immutable.
}

log.Debug("handle.get.file: resolved", "ruid", ruid, "key", manifestAddr)
Expand Down