Hello, I have no idea if this is important at all or not but since I have never seen such inconsistency I thought maybe I should report it.
I just ran this example (almost identical to examples/post.rs):
let uri = "http://localhost:3246";
let res = surf::post(uri)
.body(http_types::Body::from_string("Login=1".to_string()))
.await
.unwrap();
assert_eq!(res.status(), http_types::StatusCode::Ok);
P.S: Excuse me if this is not relevant or it is not a big deal. By a fast search, I concluded (maybe too fast) that there is no issues like this here. I just thought it's better said than unsaid.
P.P.S: Idk if this is from the client or server but notice that the casing is also inconsistent (altho probably nothing important)
Hello, I have no idea if this is important at all or not but since I have never seen such inconsistency I thought maybe I should report it.
I just ran this example (almost identical to
examples/post.rs
):I have tokio with ["full"] feature as well.
The example above breaks https://github.com/cdfuller/echo-server.git and the reason is that some headers do not have a tailing
` after
:`.Expected
Actual
P.S: Excuse me if this is not relevant or it is not a big deal. By a fast search, I concluded (maybe too fast) that there is no issues like this here. I just thought it's better said than unsaid. P.P.S: Idk if this is from the client or server but notice that the casing is also inconsistent (altho probably nothing important)