flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-11853) Allow /jars/:jarid/plan as a POST request too
Date Thu, 07 Mar 2019 13:54:00 GMT

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

Till Rohrmann commented on FLINK-11853:
---------------------------------------

Thanks for opening this issue and appending a patch [~stephenc]. The Flink community uses
the process of PRs opened against the Github repo. Would you be willing to convert you patch
into a PR which makes it a bit easier for contributors to review then?

> 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: Improvement
>          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)

Mime
View raw message