摘要 |
<p>Provided in an embodiment of the present invention are a batch file transmission method and device, the batch file transmission method comprising: transmitting a first hypertext transfer protocol (HTTP) request to a Web server, the HTTP request carrying a file object identifier for indicating a file to be acquired, and the number of files to be acquired being at least two; receiving a first HTTP response transmitted by the Web server according to the file object identifier, the first HTTP response carrying at least two data blocks in the data field, every two data blocks being separated by a first separation tag, and each data block containing one file to be acquired; parsing the first HTTP response to obtain the at least two files to be acquired. The batch file transmission method and device provided in the embodiment of the present invention can transmit at least two files once in an HTTP transmission, thus improving transmission efficiency and reducing system overhead.</p> |