adding Accept header for Faraday instance

parent 3721e894
......@@ -68,6 +68,7 @@ module Dspace
},
headers: {
content_type: 'application/json',
accept: 'application/json',
'rest-dspace-token' => access_token.to_s,
user_agent: "dspace-rest-client #{Dspace::VERSION}"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment