michaellavelle / spring-social-lastfm

LastFm API binding and connect support using Spring Social. This project adapts LastFm's APi to be pseudo-oauth so it can be used with ProviderSignInController and ConnectController - work in progress
9 stars 4 forks source link

Add user agent header to LastFM requests #1

Closed michaellavelle closed 12 years ago

michaellavelle commented 12 years ago

LastFM's Api Overview asks:

Please use an identifiable User-Agent header on all requests. This helps our logging and reduces the risk of you getting banned.

michaellavelle commented 12 years ago

Added basic user agent functionality - need to test, write tests and decide on and set default value for user agent, and allow for easy externalisation of user agent value