def split_headers(options, prefix=u''):
 headers = {}
 try:
  headers = split_request_headers(options, prefix)
 except ValueError as e:
  raise SwiftError(e)
 return headers

def split_headers ( options , prefix = u'' ) : headers = { } try : headers = split_request_headers ( options , prefix ) except ValueError as e : raise SwiftError ( e ) return headers
splits key: value strings and returns them as a dictionary .