Closed serpent213 closed 1 year ago
@serpent213 It looks good from my point of view. However, I don't see any reason why we want to make it optional. E.g. I don't see why this middleware should store the URL in any case if it's better to store just a hash. Could you please make a switch so it uses hash by default and urls are not used at all anymore?
@oltarasenko My reasoning was the following:
I could as well make it two different Middlewares, like UniqueRequest and HashedUniqueRequest.
Hey, @serpent213 could you please re-base and format your code so I can merge it. Thanks for the contribution!
Hey, @serpent213 could you please re-base and format your code so I can merge it. Thanks for the contribution!
Looks good now? I hope, my git-fu didn't skip out on me. 😉