mirror of
https://github.com/foss42/apidash.git
synced 2025-05-23 17:26:45 +08:00
Padded response body print statement
This commit is contained in:
@ -28,7 +28,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -57,7 +57,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -86,7 +86,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -115,7 +115,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -149,7 +149,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -183,7 +183,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -212,7 +212,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -246,7 +246,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -275,7 +275,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -309,7 +309,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -343,7 +343,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -372,7 +372,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -404,7 +404,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -433,7 +433,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -474,7 +474,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -518,7 +518,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -558,7 +558,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -602,7 +602,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -651,7 +651,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -691,7 +691,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -731,7 +731,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -775,7 +775,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -821,7 +821,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -864,7 +864,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -907,7 +907,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -939,7 +939,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
@ -979,7 +979,7 @@ fn main() {
|
||||
|
||||
let response_body = String::from_utf8_lossy(&data);
|
||||
|
||||
println!("Response body:{}", response_body);
|
||||
println!("Response body: {}", response_body);
|
||||
println!("Response code: {}", easy.response_code().unwrap());
|
||||
}""";
|
||||
expect(
|
||||
|
Reference in New Issue
Block a user