diff --git a/test/v2.9/all.json b/test/v2.9/all.json index f6d11a6..06cda3f 100644 --- a/test/v2.9/all.json +++ b/test/v2.9/all.json @@ -269,6 +269,7 @@ "path": "./static/" }, "backend/grpc": { + "input_assume_bytes": true, "use_request_body": false, "idle_conn_disconnect_time": "10m", "use_alternate_host_on_error": true, diff --git a/v2.9/backend/grpc.json b/v2.9/backend/grpc.json index 90d988f..bbedb18 100644 --- a/v2.9/backend/grpc.json +++ b/v2.9/backend/grpc.json @@ -41,7 +41,7 @@ }, "input_assume_bytes": { "title": "Assume input are bytes", - "description": "When set to true, when the backend has to fill a bytes field for a grpc protobuf payload to send, first tries to decode the input data (the one coming from either a json body field, a query param or header string) from base64: if it succeeds it fills the field to send with that binary / bytes data. If the incoming field is not a valid urlbase64 decoded field (the one used in jsonpb), it will fill the binary field with the verbatim conversion of the incoming string to bytes. Standard base64 decoding is not attempted.", + "description": "When set to true, when the backend has to fill a bytes field for a grpc protobuf payload to send, first tries to decode the input data (the one coming from either a json body field, a query param or header string) from base64: if it succeeds it fills the field to send with that binary / bytes data. If the incoming field is not a valid base64 decoded field (the one used in jsonpb), it will fill the binary field with the verbatim conversion of the incoming string to bytes.", "default": false }, "input_mapping": { diff --git a/v2.9/krakend.json b/v2.9/krakend.json index 65421c9..6252fc4 100644 --- a/v2.9/krakend.json +++ b/v2.9/krakend.json @@ -1873,7 +1873,7 @@ }, "input_assume_bytes": { "title": "Assume input are bytes", - "description": "When set to true, when the backend has to fill a bytes field for a grpc protobuf payload to send, first tries to decode the input data (the one coming from either a json body field, a query param or header string) from base64: if it succeeds it fills the field to send with that binary / bytes data. If the incoming field is not a valid urlbase64 decoded field (the one used in jsonpb), it will fill the binary field with the verbatim conversion of the incoming string to bytes. Standard base64 decoding is not attempted.", + "description": "When set to true, when the backend has to fill a bytes field for a grpc protobuf payload to send, first tries to decode the input data (the one coming from either a json body field, a query param or header string) from base64: if it succeeds it fills the field to send with that binary / bytes data. If the incoming field is not a valid base64 decoded field (the one used in jsonpb), it will fill the binary field with the verbatim conversion of the incoming string to bytes.", "default": false }, "input_mapping": {