diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2024-01-21 18:14:42 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-21 18:14:42 +0900 |
| commit | fb309f3d4f49b56464e3dd97d6540e092294baf2 (patch) | |
| tree | 8c83b65587c7c9057a83ee96e1befbb18d7cd19b /scripts | |
| parent | fix(frontend): MkHorizontalSwipeでメニューを閉じるのに2回クリ... (diff) | |
| download | sharkey-fb309f3d4f49b56464e3dd97d6540e092294baf2.tar.gz sharkey-fb309f3d4f49b56464e3dd97d6540e092294baf2.tar.bz2 sharkey-fb309f3d4f49b56464e3dd97d6540e092294baf2.zip | |
return a `Vary: Accept` header for all dual-format endpoints #365 (#13044)
`/users/:user`, `/@:user`, `/notes/:note` return different responses
depending on the request's `Accept:` header. If we don't consistently
return a `Vary: Accept` header, browsers and caching proxies will get
confused, and return AP representations when HTML was requested, or
vice versa.
Co-authored-by: dakkar <dakkar@thenautilus.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions