From e674043daaa657819d7773b48c5cdc12c31565d6 Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 11 May 2025 16:15:15 +0100 Subject: [PATCH] wip --- backend/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/main.go b/backend/main.go index 18a878a..884152b 100644 --- a/backend/main.go +++ b/backend/main.go @@ -198,6 +198,8 @@ func main() { contentType := r.Header.Get("Content-Type") + fmt.Printf("Content-Type: %s\n", contentType) + // TODO: length checks on body // TODO: extract this shit out image := make([]byte, 0)