Add user agent header to LastFM requests #1

michaellavelle opened this Issue Oct 15, 2011 · 1 comment


None yet
1 participant

michaellavelle commented Oct 15, 2011

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 Oct 16, 2011

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

@michaellavelle michaellavelle added a commit that referenced this issue Oct 16, 2011

@michaellavelle michaellavelle Setting default user agent header in connection factory as per #1, ad…
…ding LastFmConnectController ( #5 ), adding licensing information ( #3 ), adding some javadoc ( #4 ), and implementing initial version of LastFmErrorHandler

@michaellavelle michaellavelle added a commit that referenced this issue Oct 20, 2011

@michaellavelle michaellavelle Fixed bug with useragent setter and verified using tests ( #1 ). Impl…
…emented pseudo-oauth adapters and servlet filter o enable use with existing ProviderSignInController and ConnectController ( #6 ).   Added basic unit tests ( #7 ), improved error handling ( #8 ) including checks for required authorisation.  Enabled calls which do not require authentication to be called without an access grant ( #9 ).  Updated some javadoc ( #4) and other code clean up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment