diff --git a/src/cmd/server/handler/handler.go b/src/cmd/server/handler/handler.go
index 8a2cf6c..6dd9add 100644
--- a/src/cmd/server/handler/handler.go
+++ b/src/cmd/server/handler/handler.go
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"io"
+ "log"
"net/http"
"strings"
)
@@ -31,7 +32,9 @@ func (h Handler) serveHTTP(w http.ResponseWriter, r *http.Request) error {
return h.ui(w, r)
} else if strings.HasPrefix(r.URL.Path, "/experimental/echo") {
b, _ := io.ReadAll(r.Body)
- fmt.Fprintf(w, "%s / %s\n", r.URL.String(), b)
+ s := fmt.Sprintf("%s / %s", r.URL.String(), b)
+ fmt.Fprintf(w, "%s\n", s)
+ log.Printf("%s", b)
return nil
} else {
http.NotFound(w, r)
diff --git a/src/cmd/server/handler/testdata/index.tmpl b/src/cmd/server/handler/testdata/index.tmpl
index d6880f0..ad168f3 100644
--- a/src/cmd/server/handler/testdata/index.tmpl
+++ b/src/cmd/server/handler/testdata/index.tmpl
@@ -1,18 +1,33 @@
+