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

GET with request body times out #26

Closed
ldct opened this issue Aug 21, 2015 · 2 comments
Closed

GET with request body times out #26

ldct opened this issue Aug 21, 2015 · 2 comments

Comments

@ldct
Copy link

ldct commented Aug 21, 2015

request('GET', 'http://requestb.in/1lhfdlb1', {
  'json': {
    'a': 'b',
  },
});

times out for me. (generate a new requestbin url to test)

@ForbesLindesay
Copy link
Owner

This library does not support passing a body to a 'GET', 'DELETE' or 'HEAD' request. It would be better if then-request generated a proper error in this instance though.

@pokatomnik
Copy link

As far as I know, there is no support for a body in HTTP requests you listed. Try to use query string instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants