X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19f05fbf8df3d539f40b7e6fd1f032679a8d6bb9..6b4803d87fc957d0a779ebedc39e8499af1b7733:/app/controllers/node_controller.rb diff --git a/app/controllers/node_controller.rb b/app/controllers/node_controller.rb index 5cdbca827..bd81c9aa2 100644 --- a/app/controllers/node_controller.rb +++ b/app/controllers/node_controller.rb @@ -4,7 +4,7 @@ class NodeController < ApplicationController before_filter :authorize after_filter :compress_output - def create + def create response.headers["Content-Type"] = 'application/xml' if request.put? node = nil