fix error
This commit is contained in:
parent
0edaf01f53
commit
0ace13e75f
1 changed files with 6 additions and 1 deletions
7
http.go
7
http.go
|
@ -182,7 +182,12 @@ func (it *httpServer) verifyRequest(r *http.Request, v interface{}) (error) {
|
|||
return err
|
||||
}
|
||||
|
||||
log.Printf("req: %s", ioutil.ReadAll(r.Body))
|
||||
body, err := ioutil.ReadAll(r.Body)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Printf("req: %s", body)
|
||||
|
||||
encPasswordAndIV := all[:256]
|
||||
encBody := all[256:]
|
||||
|
|
Loading…
Reference in a new issue