mirror of
https://github.com/actix/actix-web.git
synced 2024-11-10 10:59:33 +00:00
Merge pull request #240 from ivanovaleksey/patch-2
Fix TestServer::post
This commit is contained in:
commit
1f1dfac3f9
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ impl TestServer {
|
||||||
|
|
||||||
/// Create `POST` request
|
/// Create `POST` request
|
||||||
pub fn post(&self) -> ClientRequestBuilder {
|
pub fn post(&self) -> ClientRequestBuilder {
|
||||||
ClientRequest::get(self.url("/").as_str())
|
ClientRequest::post(self.url("/").as_str())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create `HEAD` request
|
/// Create `HEAD` request
|
||||||
|
|
Loading…
Reference in a new issue