document the getEncodings() method of the Request class

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | yes (symfony/symfony#8185)
| Applies to    | 2.4+
| Fixed tickets | #2958