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

--verbose --form error #53

Closed
dair-targ opened this issue Jun 13, 2012 · 0 comments
Closed

--verbose --form error #53

dair-targ opened this issue Jun 13, 2012 · 0 comments
Labels
bug Something isn't working

Comments

@dair-targ
Copy link
Contributor

$> http POST -f -v http://httpbin.org/post hello=world
Traceback (most recent call last):
  File "/usr/local/bin/http", line 9, in <module>
    load_entry_point('httpie==0.2.0', 'console_scripts', 'http')()
  File "/usr/local/lib/python2.7/dist-packages/httpie/__main__.py", line 115, in main
    output = _get_output(args, stdout_isatty, response)
  File "/usr/local/lib/python2.7/dist-packages/httpie/__main__.py", line 92, in _get_output
    with_body=cliparse.OUT_REQ_BODY in args.output_options
  File "/usr/local/lib/python2.7/dist-packages/httpie/httpmessage.py", line 66, in format
    return '\n'.join(bit.strip() for bit in bits)
  File "/usr/local/lib/python2.7/dist-packages/httpie/httpmessage.py", line 66, in <genexpr>
    return '\n'.join(bit.strip() for bit in bits)
AttributeError: 'OrderedDict' object has no attribute 'strip'
@jkbrzt jkbrzt closed this as completed in cbc6d02 Jun 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants