Function httptest::responders::url_encoded[][src]

pub fn url_encoded<T>(data: T) -> ResponseBuilder<String> where
    T: Serialize
Expand description

respond with a body that is the url encoding of data.

The status code will be 200 and the content-type will be application/x-www-form-urlencoded.