Set the Vary header per RFC2616
What does this MR do?
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17365 by setting the Vary field correctly
Are there points in the code the reviewer needs to double check?
No
Why was this MR needed?
Resolve an open bug.
What are the relevant issue numbers?
17365
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together