Function httptest::matchers::lowercase[][src]

pub fn lowercase<M>(inner: M) -> Lowercase<M>

lowercase the input and pass it to the next mapper.

Example

use httptest::matchers::*;

// A request matcher that matches a request with a query parameter `foo` in any case.
request::query(url_decoded(contains(key(lowercase("foo")))));