mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
add HashGenerator on requestid middleware
Former-commit-id: 8f59a46a3fecc538d6d3e624fc36f2c314c20bb6
This commit is contained in:
@@ -101,7 +101,7 @@ func postExample() {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
defer cr.Close() // Closes the request body too.
|
||||
defer cr.Close()
|
||||
|
||||
body, err := ioutil.ReadAll(cr)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user