Closed snowch closed 8 years ago
Changing to:
# destination url
if (os_auth_method == 'swiftauth'):
# E.g. SoftLayer
url = os_auth_url.replace('https://', '')
url = re.sub('\/$', '', url) # remove trailing forward slash if exists
swift_file_url = "swift2d://{0}/counts".format(url)
else:
swift_file_url = "swift2d://{0}.{1}/counts".format(os_container, os_region)
counts.saveAsTextFile(swift_file_url)
Results in HTTP Status code: 400 => UNKNOWN
For softlayer objectstore I'm using a url like this:
However, the error I get is: