From 61b92529ab3c81662bb6c0c0e17fab878520fe81 Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Wed, 5 Dec 2018 14:02:49 -0800 Subject: [PATCH] Return {"status": "OK"} for the directory --- testhelper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testhelper.go b/testhelper.go index 412610d..bd53eed 100644 --- a/testhelper.go +++ b/testhelper.go @@ -33,6 +33,8 @@ func main() { defer r.Body.Close() crash(err) log.Printf("%s", b) + w.Header().Set("Content-Type", "application/json") + w.Write([]byte("{\"status\": \"OK\"}\n")) }) log.Fatal(http.ListenAndServe(":8082", nil)) }