From 1eb6eb729ae0af681f1352e62c5a75e636fcd76b Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Fri, 20 Sep 2024 20:41:23 +0200 Subject: [PATCH] chore(downloadFrom): add godoc for issue https://github.com/golang/go/issues/69551 --- pkg/modules/api/context.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/modules/api/context.go b/pkg/modules/api/context.go index de7ce712..4669dfcf 100644 --- a/pkg/modules/api/context.go +++ b/pkg/modules/api/context.go @@ -226,6 +226,9 @@ func newContext(echoCtx echo.Context, logger *zap.Logger, fs *gotenberg.FileSyst ) } + // FIXME: the implementation of this method might not be + // complete, as it fails to parse an empty mediatype. + // See: https://github.com/golang/go/issues/69551. _, params, err := mime.ParseMediaType(contentDisposition) if err != nil { return WrapError(