我正在尝试将 html 格式的表格上传到 Sinatra 站点。我正在使用 HTTParty 在正文中发布一个 html 表格。该表由 9 列和 200 行组成,HTTParty 在 60 秒时超时。我将上传几十个这样的表。如果表只有 5 行,一切运行良好。
有人可以推荐可以让我快速将大量文本上传到我的网站的技术吗?
It sounds like you're having a problem on the receiving end when processing them, not uploading them. If you're sending a reasonable amount of data, the request should not take that long. If you're uploading a lot of data, you may need to extend the time-out to compensate.