chnm / serendipomatic

http://serendipomatic.org/
26 stars 9 forks source link

add custom user agent/contact info for all http requests so people can contact us if necessary #137

Open rlskoeser opened 10 years ago

rlskoeser commented 10 years ago

It would be good to add this to the image resizing logic, so people have a way to contact us if we're hitting their servers in a way they don't like (and this should be very straightforward since I'm using python-requests). It would probably be good to add this to our API and DBpedia Spotlight requests if we can, although that may be trickier since we're using separate tools, which may not make it easy to customize the http requests.

mialondon commented 10 years ago

Nice!

Do we need it for the API requests if they can retrieve our contact details via the API keys?

rlskoeser commented 10 years ago

Good point! Yes, they should be able to track our requests & usage via our API keys and they have contact info for those API keys, so we should be good on those. Thanks for pointing that out.