From 82541d24ee97263cef87567e6e887d3e59f66969 Mon Sep 17 00:00:00 2001 From: Travis Reeder Date: Tue, 9 Jan 2018 13:27:38 -0800 Subject: [PATCH] wip (#665) --- api/server/runner.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/server/runner.go b/api/server/runner.go index 779abedb7..bc67d9adc 100644 --- a/api/server/runner.go +++ b/api/server/runner.go @@ -46,6 +46,7 @@ func (s *Server) handleFunctionCall2(c *gin.Context) error { // gin sets this to 404 on NoRoute, so we'll just ensure it's 200 by default. c.Status(200) // this doesn't write the header yet + c.Header("Content-Type", "application/json") return s.serve(c, a, path.Clean(p)) }