Multipart HTTP Response vs Zip File For API Response

最后都变了- 提交于 2019-12-11 01:13:02

问题


If I want to return multiple files in one HTTP response from my API because my clients have very low bandwidth and bad internet connectivity, what is my best option for sending them to the client?

Should I use a Multipart HTTP response or zip up all my files and return those? I realize that Multipart HTTP responses are not recommended for browsers but I am talking about an API where I control the client.

来源:https://stackoverflow.com/questions/38139818/multipart-http-response-vs-zip-file-for-api-response

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!