Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300808

Disable BigPipe delivery for non-safe method (e.g. POST) requests like render caching

$
0
0

Problem/Motivation

The poll project displays forms in a lazy builder. Apparently, that breaks big_pipe when submitting that form because it can't deal with the EnforcedResponseException that's then eventually thrown.

And we can't just handle it, because we already sent the response.. no way we can now suddenly send a difference one.

Proposed resolution

I think we can skip big_pipe on post requests?

The attached patch does that, but we'll need tests and needs to be properly documented, this is a just a quick fix.

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 300808

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>