public PactDslRequestWithPath matchHeader ( String header , String regex ) { return matchHeader ( header , regex , new Generex ( regex ) . random ( ) ) ; }
Match a request header . A random example header value will be generated from the provided regular expression .