Comments (3)
Please run the command with --debug
and post the whole command and output here.
from httpie.
Configuration:
Python 2.7 32-bit
Windows7 x64
e:\deploy\python\Scripts>http.exe google.com --debug
Result:
HTTPie 0.3.0
HTTPie data: C:\Users\pykaso\AppData\Roaming\httpie
Requests 0.14.0
Pygments 1.5
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] win32
>>> requests.request({'allow_redirects': False,
>>> 'auth': None,
>>> 'config': {'base_headers': {'Accept': '_/_',
>>> 'Accept-Encoding': 'identity, deflate, compress, gz
>>> ip',
>>> 'User-Agent': 'HTTPie/0.3.0'}},
>>> 'data': OrderedDict(),
>>> 'files': OrderedDict(),
>>> 'headers': {},
>>> 'method': 'get',
>>> 'params': ParamDict(),
>>> 'prefetch': False,
>>> 'proxies': {},
>>> 'timeout': 30,
>>> 'url': 'http://google.com',
>>> 'verify': True})
Traceback (most recent call last):
File "e:\deploy\python\Scripts\http-script.py", line 8, in <module>
load_entry_point('httpie==0.3.0', 'console_scripts', 'http')()
File "build\bdist.win32\egg\httpie\core.py", line 79, in main
File "build\bdist.win32\egg\httpie\client.py", line 28, in get_response
File "e:\deploy\python\lib\site-packages\requests-0.14.0-py2.7.egg\requests\sa
fe_mode.py", line 39, in wrapped
return function(method, url, *_kwargs)
File "e:\deploy\python\lib\site-packages\requests-0.14.0-py2.7.egg\requests\ap
i.py", line 51, in request
return session.request(method=method, url=url, *_kwargs)
File "e:\deploy\python\lib\site-packages\requests-0.14.0-py2.7.egg\requests\se
ssions.py", line 252, in request
r.send(prefetch=prefetch)
File "e:\deploy\python\lib\site-packages\requests-0.14.0-py2.7.egg\requests\mo
dels.py", line 490, in send
url = self.full_url
File "e:\deploy\python\lib\site-packages\requests-0.14.0-py2.7.egg\requests\mo
dels.py", line 399, in full_url
netloc = netloc.encode('idna').decode('utf-8')
LookupError: unknown encoding: idna
from httpie.
Please re-open if the issue persists with the latest HTTPie version.
from httpie.
Related Issues (20)
- Trim trailing empty lines from CLI output HOT 1
- Cryptographic API Misuse Vulnerability : Missing SSL Certificate Validation HOT 1
- Filter response keys before print result to the screen
- HTTPie could be lead to believe data was passed in stdin when it was not HOT 1
- httpie -d does not work with gzip compressed content
- Add cli option to generate scriptable or compilable code, or a native executable, that performs the command wherein the option was included
- I got [reports](https://github.com/RageAgainstThePixel/OpenAI-DotNet/issues/236) that this started happening today:
- I got [reports](https://github.com/RageAgainstThePixel/OpenAI-DotNet/issues/236) that this started happening today:
- ## Acceptance Criteria
- it is not possible install for arm linux HOT 3
- Please add support for Mise
- conda-forge lists __win as a MatchSpec dependency for httpie=2.2.0 preventing installation on linux-64 HOT 1
- Failed to use {{key}}={{value}} for nested JSON HOT 1
- Online doc error HOT 3
- Ability to define a custom default user-agent in config.json
- Add .netrc support when using --auth-type bearer
- unable to CONTRIBUTING
- ### Summary
- server HOT 1
- CLI help doesn't show how to launch in a browser!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpie.