Match returns true if r matches m.
(r *http.Request)
| 988 | |
| 989 | // Match returns true if r matches m. |
| 990 | func (m MatchHeader) Match(r *http.Request) bool { |
| 991 | match, _ := m.MatchWithError(r) |
| 992 | return match |
| 993 | } |
| 994 | |
| 995 | // MatchWithError returns true if r matches m. |
| 996 | func (m MatchHeader) MatchWithError(r *http.Request) (bool, error) { |
nothing calls this directly
no test coverage detected