Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ericls/imgdd
/ IsHttps
Function
IsHttps
httpserver/common_middleware.go:64–67 ·
view source on GitHub ↗
(c context.Context)
Source
from the content-addressed store, hash-verified
62
}
63
64
func
IsHttps(c context.Context) bool {
65
r := GetRequest(c)
66
return
IsSecure(r)
67
}
68
69
func
GetBaseURL(c context.Context) *url.URL {
70
r := GetRequest(c)
Callers
nothing calls this directly
Calls
2
GetRequest
Function · 0.85
IsSecure
Function · 0.85
Tested by
no test coverage detected