Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: '_io.BytesIO' object has no attribute 'headers' #4

Closed
dahlia opened this issue Nov 14, 2014 · 0 comments
Closed

AttributeError: '_io.BytesIO' object has no attribute 'headers' #4

dahlia opened this issue Nov 14, 2014 · 0 comments
Labels

Comments

@dahlia
Copy link
Contributor

dahlia commented Nov 14, 2014

Traceback (most recent call last):
  File "/usr/bin/geofront-cli", line 9, in <module>
    load_entry_point('geofront-cli==0.2.2', 'console_scripts', 'geofront-cli')()
  File "/usr/lib/python3.4/site-packages/geofrontcli/cli.py", line 416, in main
    args.function(args)
  File "/usr/lib/python3.4/site-packages/geofrontcli/cli.py", line 354, in scp
    src_client, src_remote, src_path = parse_scp_path(args.source, args)
  File "/usr/lib/python3.4/site-packages/geofrontcli/cli.py", line 337, in parse_scp_path
    remote = client.authorize(alias)
  File "/usr/lib/python3.4/site-packages/geofrontcli/client.py", line 189, in authorize
    mimetype, _ = parse_mimetype(r.headers['Content-Type'])
AttributeError: '_io.BytesIO' object has no attribute 'headers'
@dahlia dahlia added the bug label Nov 14, 2014
@dahlia dahlia closed this as completed in cc3c152 Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant