Resolves #89 - with thanks to nolar

This commit is contained in:
Daniel Munn 2013-01-18 23:34:24 +00:00
parent 6633c9b0c8
commit 9f86383ab4

View File

@ -95,7 +95,7 @@ module RedmineDmsf
end
response.body = doc.to_xml
response["Content-Type"] = 'application/xml; charset="utf-8"'
response["Content-Length"] = response.body.size.to_s
response["Content-Length"] = response.body.bytesize.to_s
end