1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-19 04:15:38 +02:00

Merge pull request #240 from ivanovaleksey/patch-2

Fix TestServer::post
This commit is contained in:
Nikolay Kim
2018-05-23 09:50:40 -07:00
committed by GitHub

View File

@@ -217,7 +217,7 @@ impl TestServer {
/// Create `POST` request
pub fn post(&self) -> ClientRequestBuilder {
ClientRequest::get(self.url("/").as_str())
ClientRequest::post(self.url("/").as_str())
}
/// Create `HEAD` request