[jira] [Created] (FLINK-11853) Allow /jars/:jarid/plan as a POST request too

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11853) Allow /jars/:jarid/plan as a POST request too

Shang Yuanchun (Jira)
Stephen Connolly created FLINK-11853:
----------------------------------------

             Summary: Allow  /jars/:jarid/plan as a POST request too
                 Key: FLINK-11853
                 URL: https://issues.apache.org/jira/browse/FLINK-11853
             Project: Flink
          Issue Type: Bug
          Components: Runtime / REST
            Reporter: Stephen Connolly


Lots of HTTP clients (including the Java native client as well as OkHttp) enforce that a GET request cannot include a request body and change the request to a POST request if an attempt is made to send a request body.

While one answer would be to just request that people use a different HTTP client library, in some cases the potential for classloader conflicts may make this difficult. The easier solution would be to just provide a second end-point that responds to POST requests as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)