Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 772 Bytes

failIfHeaderNotMatchesRegexp.md

File metadata and controls

49 lines (31 loc) · 772 Bytes

failIfHeaderNotMatchesRegexp

Index

Fields

fn withAllowMissing

withAllowMissing(value=true)

PARAMETERS:

  • value (boolean)
    • default value: true

(Boolean) Allow header to be missing from responses. Defaults to false. Allow header to be missing from responses. Defaults to false.

fn withHeader

withHeader(value)

PARAMETERS:

  • value (string)

(String) Header name. Header name.

fn withRegexp

withRegexp(value)

PARAMETERS:

  • value (string)

(String) Regex that header value should match. Regex that header value should match.