[ 
https://issues.apache.org/jira/browse/FLINK-11853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786717#comment-16786717
 ] 

Stephen Connolly commented on FLINK-11853:
------------------------------------------

Attached patch is one version of a fix. I am sure somebody else could provide a 
"nicer" one

> 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
>            Priority: Minor
>         Attachments: flink-11853.patch
>
>
> 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)

Reply via email to