Commit 949c1c4a authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

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