chore(downloadFrom): add godoc for issue https://github.com/golang/go/issues/69551

This commit is contained in:
Julien Neuhart
2024-09-20 20:41:23 +02:00
parent e371a4a3c3
commit 1eb6eb729a

View File

@@ -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(