mirror of
https://github.com/actix/actix-extras.git
synced 2024-12-01 02:44:37 +01:00
Fix TestServer::post
This commit is contained in:
parent
db0091ba6f
commit
2479b14aba
@ -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 New Issue
Block a user