handle gzipped requests som more

This commit is contained in:
Kalle Carlbark 2024-08-20 13:41:46 +02:00
parent 2fb9853754
commit fa98d63326
No known key found for this signature in database

View file

@ -26,7 +26,7 @@ func requestHandler(w http.ResponseWriter, r *http.Request) {
} else { } else {
requestbody, _ = io.ReadAll(r.Body) 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 { if *header {