Browse Source

Setting content type is unnecessary

Rob Figueiredo 12 years ago
parent
commit
0a4c1cab33
1 changed files with 0 additions and 1 deletions
  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 {
 func (c App) Json() revel.Result {
-	c.Response.ContentType = "application/json"
 	return c.RenderJson(MessageStruct{"Hello, world"})
 	return c.RenderJson(MessageStruct{"Hello, world"})
 }
 }