pub fn method_pattern<I: Clone, E: ParseError<I>, F>(
    f: F
) -> impl FnMut(I) -> IResult<I, HttpMethodPattern, E>where
    I: InputLength + InputTake + Compare<&'static str>,
    F: Parser<I, HttpMethod, E>,
    E: ContextError<I>,