We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Connection#HTTP_FORMAT_HEADER_NAMES
1 parent b549319 commit fc159b7Copy full SHA for fc159b7
lib/active_resource/connection.rb
@@ -11,7 +11,8 @@ module ActiveResource
11
# This class is used by ActiveResource::Base to interface with REST
12
# services.
13
class Connection
14
- HTTP_FORMAT_HEADER_NAMES = { get: "Accept",
+ HTTP_FORMAT_HEADER_NAMES = {
15
+ get: "Accept",
16
put: "Content-Type",
17
post: "Content-Type",
18
patch: "Content-Type",
0 commit comments