These are chat archives for gin-gonic/gin

May 2018
May 31 2018 18:26
Hi, I'm new to gin. I am working in lambda/apigateway and want to return a redirect response. c.Redirect(http.StatusTemporaryRedirect, "") and c.Writer.WriteHeader(307) c.Writer.Header().Add("Location", "") but the http.Response status code shows 200 instead of 307. Is gin rendering the location and returning the status of that instead?