cakephp/cakephp — pull request #5486 by dereuromark (2014-12-24 17:49:48+00:00)
Title: Move some request functionality into a more generic scope.

Can we move some of the functionality of the Request class into its own?
This would cut down on the complexity of the main class (having 1240 lines even after this change).

Alternative for class name right now: "Language"

Easy move:
- parseAcceptWithQualifier()
- acceptLanguage()

Not so easy (and maybe not necessary/possible) due to some non static env() access:
- clientIp()
- referer() (optional)