Authentication headers should be Authorization headers for gaia_hub

This commit is contained in:
Aaron Blankstein
2017-09-19 17:53:39 -04:00
committed by Jude Nelson
parent 187d0b0eca
commit 36e1365b73

View File

@@ -52,7 +52,7 @@ def put_mutable_handler( data_id, data_txt, **kw ):
ACCESS_ADDRESS,
data_id_to_hex( data_id ))
headers = {
"Authentication" : "bearer {}".format(ACCESS_TOKEN)
"Authorization" : "bearer {}".format(ACCESS_TOKEN)
}
log.debug( "put_mutable_url: {}".format(url))