>From what i can see get_url doesn't support specifying custom http headers 
like the uri module.

What i am trying to do is download some files from the object storage in 
Softlayer (based on SwiftStack)

1) Customised the softlayer inventory file to include username and apikey 
as group_vars when generating inventory
2) use uri module to authenticate against object storage and get storage 
auth token
3) use get_url to download files but need to specify custom header to 
include token

Am I am correct in saying can't specify custom header in get_url, happy to 
try and create a patch to support this if this is ok?

thanks
Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d4ae9c6f-350b-4c54-9781-4f0a7265d2ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to