handle gzipped requests som more
This commit is contained in:
parent
2fb9853754
commit
fa98d63326
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -26,7 +26,7 @@ func requestHandler(w http.ResponseWriter, r *http.Request) {
|
|||
} else {
|
||||
requestbody, _ = io.ReadAll(r.Body)
|
||||
}
|
||||
fmt.Printf("\n--- BODY ---\n%s\n", string(requestbody))
|
||||
fmt.Printf("\n--- BODY ---\n%s\n--- ENDBODY ---\n", string(requestbody))
|
||||
}
|
||||
|
||||
if *header {
|
||||
|
|
Loading…
Reference in a new issue