handle test
This commit is contained in:
parent
a25aaccbf3
commit
4c522ff2b8
1 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,11 @@ func (s *Server) routeCallUpload(w http.ResponseWriter, r *http.Request) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if r.Form.Get("test") == "1" {
|
||||||
|
w.Write([]byte("Test succeeded"))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
call := new(callUploadRequest)
|
call := new(callUploadRequest)
|
||||||
err = call.fill(r)
|
err = call.fill(r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue