最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Serve a binary file in functions GCP - Stack Overflow

programmeradmin1浏览0评论

Is it possible to serve a file from google cloud platform

response.contentType("application/octet-stream");
response.setHeader("Content-Type", "application/octet-stream");
response.setHeader("Content-Length", file?.blob.size ?? 0;
response.send(file?.blob);

Do functions have some limits ?

Thanks for any help

发布评论

评论列表(0)

  1. 暂无评论