Match returns true if r matches m.
(r *http.Request)
| 1133 | |
| 1134 | // Match returns true if r matches m. |
| 1135 | func (m MatchHeaderRE) Match(r *http.Request) bool { |
| 1136 | match, _ := m.MatchWithError(r) |
| 1137 | return match |
| 1138 | } |
| 1139 | |
| 1140 | // MatchWithError returns true if r matches m. |
| 1141 | func (m MatchHeaderRE) MatchWithError(r *http.Request) (bool, error) { |
nothing calls this directly
no test coverage detected