- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Related: 🐛 Duplicate HTTP headers should be removed RTBC . We should test if that fixes it for BigPipe Sessionless too.
- 🇬🇧United Kingdom Driskell
I haven't empirically tested this but my assessment of the core change in https://www.drupal.org/project/drupal/issues/2861552 🐛 Duplicate HTTP headers should be removed RTBC is that it only deduplicates headers configured via #attached, which are mostly Link headers.
The headers duplicated here are copied directly from the original response object to the new one and then pass through EventSubscribers that originally added them which then add them again. So I don't think that ticket fixes it. I also think it makes sense for Drupal to validate and deduplicate its own "header instructions" - but technically at the request/response level duplicating headers is normal and acceptable so it wouldn't make sense to reactively fix it at that level so not sure the fix would translate well
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Right — I should've read the patch in detail, sorry! The titles just sounded so similar! 😬
Any chance you could write a failing test for this issue? That'd make this far easier to commit — the current MR looks clean (👏), but is far more complicated than the issue title would imply/suggest: it's not just simple deduplication! 😅
- Status changed to Needs review
over 1 year ago 4:36pm 12 July 2023 - last update
over 1 year ago Patch Failed to Apply - 🇫🇷France GaëlG Lille, France
Unfortunately, it looks like my fix in 🐛 Pages generated via subrequest never get cached Needs work does not solve this issue. But it might help?
- Assigned to wim leers
- last update
about 1 year ago 16 pass - Issue was unassigned.
- Status changed to Needs work
about 1 year ago 10:50am 24 October 2023 - Status changed to Needs review
12 months ago 9:31am 29 December 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I bet this was caused by the 🐛 FinishResponseSubscriber could create duplicate headers Fixed bug in Drupal core 😅.
That would explain why I could not reproduce this in #17.
Can you please try to reproduce this manually with that core patch applied?
- Status changed to Needs work
10 months ago 10:22pm 26 February 2024