lib/yoti/http/signed_request.rb in yoti-1.5.0 vs lib/yoti/http/signed_request.rb in yoti-1.6.0
- old
+ new
@@ -9,15 +9,12 @@
@payload = payload
@auth_key = Yoti::SSL.auth_key_from_pem
end
def sign
- @http_req['X-Yoti-Auth-Key'] = @auth_key
@http_req['X-Yoti-Auth-Digest'] = message_signature
@http_req['X-Yoti-SDK'] = Yoti.configuration.sdk_identifier
@http_req['X-Yoti-SDK-Version'] = "#{Yoti.configuration.sdk_identifier}-#{Yoti::VERSION}"
- @http_req['Content-Type'] = 'application/json'
- @http_req['Accept'] = 'application/json'
@http_req
end
private