Skip to content

document content-type plugin #257

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

Merged
merged 1 commit into from
Mar 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions integrations/symfony-full-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ This page shows an example of all configuration values provided by the bundle.
uri: http://localhost:80 # Required
# Whether to replace the host if request already specifies one
replace: false
# Set content-type header based on request body, if the header is not already set
- content_type:
# skip content-type detection if body is larger than size_limit
skip_detection: true
# size_limit in bytes for when skip_detection is enabled
size_limit: 200000
# Append headers to the request. If the header already exists the value will be appended to the current value.
- header_append:
# Keys are the header names, values the header values
Expand Down