为了返回我的一个帖子端点
Ok.sendFile(
content = csvFile,
fileName = (_ => csvFile.fileName),
onClose = csvFile.cleanup
)
向客户端发送csv文件。我遇到的问题是,当csv文件太大(某些客户端很少发生)时,他们会收到504Gateway超时错误。
The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.
它在成功传输文件时不显示。
发布于 2017-09-21 20:27:13
正如在gitter上讨论的那样:增加ELB的超时值(默认为60秒)。
https://stackoverflow.com/questions/46348807
复制相似问题