[Components][HttpFoundation] Fixed AcceptHeader use example

| Q                 | A
| ------------------ | ---
| Doc fix?        | yes
| New docs?    | no
| Applies to     | 2.3+
| Fixed tickets | #2772