From 790ebf8eab39da1b4d62146fe10f4a77f5daca8c Mon Sep 17 00:00:00 2001 From: "Edgar J. Suarez" Date: Wed, 17 Sep 2008 15:24:26 -0500 Subject: HTTP Accept header Signed-off-by: Michael Koziarski --- activeresource/lib/active_resource/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activeresource/lib') diff --git a/activeresource/lib/active_resource/connection.rb b/activeresource/lib/active_resource/connection.rb index fe9c2d57fe..273fee3286 100644 --- a/activeresource/lib/active_resource/connection.rb +++ b/activeresource/lib/active_resource/connection.rb @@ -199,7 +199,7 @@ module ActiveResource # Builds headers for request to remote service. def build_request_headers(headers, http_method=nil) - authorization_header.update(default_header).update(headers).update(http_format_header(http_method)) + authorization_header.update(default_header).update(http_format_header(http_method)).update(headers) end # Sets authorization header -- cgit v1.2.3