MCPcopy Create free account
hub / github.com/convox/rack / SetVersion

Method SetVersion

pkg/test/handler_func.go:90–92  ·  view source on GitHub ↗

SetVersion sets the Version: HTTP header

(version string)

Source from the content-addressed store, hash-verified

88
89// SetVersion sets the Version: HTTP header
90func (f *HandlerFuncTest) SetVersion(version string) {
91 f.version = version
92}
93
94func (f *HandlerFuncTest) request(method, url string, values url.Values) (req *http.Request, err error) {
95 switch method {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected