From 7b626e7c324a2e1925771f55a8bc4511d32b36f9 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Sat, 23 Feb 2019 19:25:04 +0100 Subject: [PATCH] document content-type plugin --- integrations/symfony-full-configuration.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/integrations/symfony-full-configuration.rst b/integrations/symfony-full-configuration.rst index 2adf2ae..3e5b12e 100644 --- a/integrations/symfony-full-configuration.rst +++ b/integrations/symfony-full-configuration.rst @@ -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