We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
replay_http()
1 parent 7aa98c9 commit a4658bcCopy full SHA for a4658bc
src/tests/record.rs
@@ -292,6 +292,7 @@ fn replay_http(
292
) -> impl Future<Output = Result<Response<Body>, Error>> + Send {
293
static IGNORED_HEADERS: &[&str] = &["authorization", "date", "cache-control"];
294
295
+ debug!("<- {:?}", req);
296
assert_eq!(req.uri().to_string(), exchange.request.uri);
297
assert_eq!(req.method().to_string(), exchange.request.method);
298
assert_ok!(writeln!(
@@ -337,6 +338,7 @@ fn replay_http(
337
338
let status = StatusCode::from_u16(exchange.response.status).unwrap();
339
let response = builder.status(status).body(body.into()).unwrap();
340
341
+ debug!("-> {:?}", response);
342
Ok(response)
343
}
344
0 commit comments