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

request_streams needs to send a User-Agent header #55

Open
GoogleCodeExporter opened this issue Jul 6, 2015 · 4 comments
Open

request_streams needs to send a User-Agent header #55

GoogleCodeExporter opened this issue Jul 6, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Any HTTP request sent to LiveJournal without a User-Agent header will fail, so 
LightOpenID needs to add one for maximum compatibility. As I understand it, 
LiveJournal added this check to help fend off DDoS attacks they've been getting.

Original issue reported on code.google.com by [email protected] on 16 Jan 2012 at 9:40

@GoogleCodeExporter
Copy link
Author

And what user agent would that be?
Lying that one is, for example, firefox isn't a good idea (because it skews 
statistics if they make them), and unknown user-agents might be blocked as well.

Original comment by [email protected] on 16 Jan 2012 at 10:00

@GoogleCodeExporter
Copy link
Author

I've only tried "PHP" in my tests; LiveJournal is OK with that.

Original comment by [email protected] on 16 Jan 2012 at 10:10

@GoogleCodeExporter
Copy link
Author

Issue 57 has been merged into this issue.

Original comment by [email protected] on 10 Feb 2012 at 3:47

@GoogleCodeExporter
Copy link
Author

I wonder if that might be related to issue 46. Sourceforge is known to prevent 
access to normal webpages if the User-Agent is either blank or in a black list. 
So if you want to download Sourceforge Webpages, you have to set the user agent 
header to something (preferable something unique). I don't know if that is 
related to openid at all.

Original comment by [email protected] on 20 Feb 2012 at 1:50

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

No branches or pull requests

1 participant