From 7f825d18c5e7301ba4e06cc3091a081b1f82bf4d Mon Sep 17 00:00:00 2001 From: yuriy Date: Fri, 27 Oct 2023 21:37:52 +0300 Subject: [PATCH] Easier support for application/x-protobuf with lambda functions --- .../Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs b/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs index cd77fd273..9ba95feb0 100644 --- a/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs +++ b/Libraries/src/Amazon.Lambda.AspNetCoreServer/AbstractAspNetCoreFunction.cs @@ -75,6 +75,7 @@ public abstract class AbstractAspNetCoreFunction : Abstract ["image/x-icon"] = ResponseContentEncoding.Base64, ["application/zip"] = ResponseContentEncoding.Base64, ["application/pdf"] = ResponseContentEncoding.Base64, + ["application/x-protobuf"] = ResponseContentEncoding.Base64, }; // Defines a mapping from registered content encodings to the response encoding format