|
@@ -131,11 +131,7 @@ func feedRequest(req *http.Request, class string) {
|
|
|
|
|
|
func formatRequest(req *http.Request) string {
|
|
func formatRequest(req *http.Request) string {
|
|
|
|
|
|
- ingestBody := req.ContentLength < 2048 && req.ContentLength > 1
|
|
|
|
-
|
|
|
|
- log.Println("Ingesting the body: ", ingestBody)
|
|
|
|
-
|
|
|
|
- requestDump, err := httputil.DumpRequest(req, ingestBody)
|
|
|
|
|
|
+ requestDump, err := httputil.DumpRequest(req, false)
|
|
if err != nil {
|
|
if err != nil {
|
|
fmt.Println(err)
|
|
fmt.Println(err)
|
|
}
|
|
}
|