Forráskód Böngészése

Setting content type is unnecessary

Rob Figueiredo 12 éve
szülő
commit
ac8dca3c44
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      revel/src/benchmark/app/controllers/app.go

+ 0 - 1
revel/src/benchmark/app/controllers/app.go

@@ -66,7 +66,6 @@ type App struct {
 }
 
 func (c App) Json() revel.Result {
-	c.Response.ContentType = "application/json"
 	return c.RenderJson(MessageStruct{"Hello, world"})
 }