Implemented the User Agent middleware #6
Reference in New Issue
Block a user
Delete Branch "library/user-agent-middleware"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the work done to implement the
UserAgentMiddlewaremiddleware that includes user agent information into a header of the requests sent by theClienttype, as defined in the Discogs documentation. For this purpose, theCamelCaseValidationRule,SemanticVersionValidationRuleandURLValidationRuletypes were implemented and integrated into the existingValidateInputUseCasetype.