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

httparty 0.4.4 and 0.4.5 differences #22

Closed
whoisjake opened this issue Sep 22, 2009 · 1 comment
Closed

httparty 0.4.4 and 0.4.5 differences #22

whoisjake opened this issue Sep 22, 2009 · 1 comment

Comments

@whoisjake
Copy link

I wrote a small Twitter httparty client that used it's search features.

In development on my machine, 0.4.4 and 0.4.5 worked the same... When I deployed the application to Heroku, 0.4.4 works but 0.4.5 causes Twitter to return a 400 Bad Request.

I feel like a bad bug reporter since I don't have any sample code, it was basically the same as your twitter example but built for the search.

I would imagine it's something to do with how it builds the request. Not sure if anything has changed recently, but for some reason, whatever is machine specific in the request generation is causing errors on Heroku.

Steps to reproduce:

  1. Used this: http://gist.github.com/178266
  2. With 0.4, it returned results in dev mode and on Heroku.
  3. With 0.4.5 it returns results in dev, but not on Heroku.

Expected:
I should get twitter search results.

Actual:
I get a 400 Bad Request

@jnunemaker
Copy link
Owner

Twitter search started recently requiring the user agent to be set. My guess is it is related to that. Please check the twitter mailing list, and the httparty google group before submitting tickets.

This issue was closed.
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

2 participants