diff --git a/httputil/httputil.go b/httputil/httputil.go
index <HASH>..<HASH> 100644
--- a/httputil/httputil.go
+++ b/httputil/httputil.go
@@ -1,5 +1,6 @@
 /*
 Copyright 2011 Google Inc.
+Modifications Copyright (c) 2014 Simon Zimmermann
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
@@ -65,7 +66,7 @@ func ReturnJSON(rw http.ResponseWriter, data interface{}) {
 }
 
 func ReturnJSONCode(rw http.ResponseWriter, code int, data interface{}) {
-	rw.Header().Set("Content-Type", "text/javascript")
+	rw.Header().Set("Content-Type", "application/json")
 	js, err := json.MarshalIndent(data, "", "  ")
 	if err != nil {
 		BadRequestError(rw, fmt.Sprintf("JSON serialization error: %v", err))
util: use application/json instead of text/javascript for JSON response