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