Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(HttpSourceAcl): Add optional configuration header configurations #133

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NicolasFruyAdeo
Copy link
Contributor

Add 2 optional configuration properties:

  • contentlength.required: Defaults to false, fail fast rather than skipping HTTP response body length validation when set to true. Corresponding environment variable: SOURCE_HTTP_CONTENT_LENGTH_HEADER_REQUIRED
  • headers: Defaults to empty, adds extra headers on the HTTP requests sent by the HttpSourceAcl, overriding default headers in case of duplicates, including those added from another configuration, authentication for example. Corresponding environment variable: SOURCE_HTTP_HEADER_OVERRIDES formatted as CSV such as "k1:v1,k2:v2"

…ngth header

Defaults to false, fail fast rather than skipping HTTP response body length validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant