[−][src]Function httptest::responders::url_encoded
pub fn url_encoded<T>(data: T) -> impl Responder where
T: Serialize,
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
.