Not sure if this makes sense, but `$request` can be populated with the POST body. In that scenario I'm not sure we want to do this (imagine someone posting a file here). I know this helper method is only called from a GET context, but I can easily be used in other contexts.

I think we need to check the method or add a warning to the docs to only use it in GET context.