Set cache control in the HTTP-RPC response header (#6265)

This commit is contained in:
JayT106
2021-04-14 14:05:27 +02:00
committed by GitHub
parent c9125a6625
commit ca7dbea05b
14 changed files with 144 additions and 74 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import (
)
var rpcFuncMap = map[string]*rs.RPCFunc{
"c": rs.NewRPCFunc(func(s string, i int) (string, int) { return "foo", 200 }, "s,i"),
"c": rs.NewRPCFunc(func(s string, i int) (string, int) { return "foo", 200 }, "s,i", false),
}
var mux *http.ServeMux