FLUID-6747: Appearance of "method" in permittedRequestOptions for DataSource is misleading

Metadata

Source
FLUID-6747
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2022-07-19T11:29:18.459-0400
Updated
2024-07-17T08:02:55.556-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Framework

Description

Recently @@Cindy Li ran into an issue where she supplied method: "GET" as a top-level option in a DataSource - because of the way options merging occurs in the rather ad hoc code in fluid.dataSource.URL.prepareRequestOptions and poorly factored into fluid.dataSource.URL.handleHttp this makes the dataSource unusable for writing, since this option then takes precedence over anything supplied as writeMethod.
We should simply remove "method" from the permittedRequestOptions since the result is going to be undesirable in most cases.