You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by tillrohrmann <gi...@git.apache.org> on 2017/10/19 12:08:36 UTC

[GitHub] flink pull request #4859: [FLINK-7872] Allow to pass in additional HTTP head...

GitHub user tillrohrmann opened a pull request:

    https://github.com/apache/flink/pull/4859

    [FLINK-7872] Allow to pass in additional HTTP headers

    ## What is the purpose of the change
    
    HandlerUtils#sendResponse now accepts a map of additional http response headers
    and their values. This allows to set additional headers such as the
    ACCESS_CONTROL_ALLOW_ORIGIN header and its value.
    
    ## Verifying this change
    
    Manually tested.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
      - If yes, how is the feature documented? (not applicable)
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tillrohrmann/flink additionalHttpHeaders

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4859.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4859
    
----
commit a61e6982c9bd88c72e28169664bdb87576e62a57
Author: Till <ti...@gmail.com>
Date:   2017-10-19T09:06:41Z

    [FLINK-7872] Allow to pass in additional HTTP headers
    
    HandlerUtils#sendResponse now accepts a map of additional http response headers
    and their values. This allows to set additional headers such as the
    ACCESS_CONTROL_ALLOW_ORIGIN header and its value.

----


---

[GitHub] flink pull request #4859: [FLINK-7872] Allow to pass in additional HTTP head...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/4859


---