standalone-test-server.query

content-type->parser

Maps a content type to a parsing function of the form String => map

form-parser

json-parser

with-body

(with-body body col)

A filter function which will remove requests where the parsed :body does not match body.

:body is parsed by the request’s content-type

with-body-key-subset

(with-body-key-subset body-keys col)

A filter function which will remove requests where the body-keys is a subset of the parsed :body’s keys.

:body is parsed by the request’s content-type

with-body-keys

(with-body-keys body-keys col)

A filter function which will remove requests where the parsed :body’s keys do not match body-keys.

:body is parsed by the request’s content-type

with-method

(with-method method col)

A filter function which will remove requests where its :request-method does not equal method

with-query-key-subset

(with-query-key-subset key-set col)

A filter function which will remove requests where key-set is a not subset of the parsed :query-string’s keys.

with-query-keys

(with-query-keys key-set col)

A filter function which will remove requests where its parsed :query-string’s keys do not match key-set.

with-query-params

(with-query-params kv-map col)

A filter function which will remove requests where the parsed :query-string does not match kv-map.

with-uri

(with-uri uri col)

A filter function which will remove requests where its :uri does not equal uri

xml-parser

(xml-parser)