# 下载到一半的时候出错的情况 curl -vv http://127.0.0.1:7001/api/v1/generator-export-file * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 7001 (#0) > GET /api/v1/generator-export-file HTTP/1.1 > Host: 127.0.0.1:7001 > User-Agent: curl > Accept: */* > < HTTP/1.1 200 OK < Content-Type: text/plain; charset=utf-8 < Content-Disposition: attachment; filename="GeneratorExportFile.txt" < Transfer-Encoding: chunked < x-content-type-options: nosniff < x-frame-options: SAMEORIGIN < x-xss-protection: 1; mode=block < x-download-options: noopen < x-readtime: 11 < Connection: keep-alive < Keep-Alive: timeout=5 < Get data success at 4007ms Get data success at 9016ms Get data success at 14020ms Get data success at 19033ms Get data success at 24042ms Get data success at 28045ms Get data success at 33047ms Get data success at 38054ms Get data success at 41066ms Get data success at 46077ms get data fail, Error: Random error* Connection #0 to host 127.0.0.1 left intact
# 下载成功完成 curl -vv http://127.0.0.1:7001/api/v1/generator-export-file * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 7001 (#0) > GET /api/v1/generator-export-file HTTP/1.1 > Host: 127.0.0.1:7001 > User-Agent: curl > Accept: */* > < HTTP/1.1 200 OK < Content-Type: text/plain; charset=utf-8 < Content-Disposition: attachment; filename="GeneratorExportFile.txt" < Transfer-Encoding: chunked < x-content-type-options: nosniff < x-frame-options: SAMEORIGIN < x-xss-protection: 1; mode=block < x-download-options: noopen < x-readtime: 3 < Connection: keep-alive < Keep-Alive: timeout=5 < Get data success at 5003ms Get data success at 8020ms Get data success at 11033ms Get data success at 16037ms Get data success at 20044ms Get data success at 23051ms Get data success at 27060ms Get data success at 30072ms Get data success at 34087ms Get data success at 39103ms Get data success at 43105ms Get data success at 48122ms Get data success at 52129ms Get data success at 57132ms Get data success at 60146ms Get data success at 63150ms Get data success at 68165ms Get data success at 71167ms Get data success at 76178ms End* Connection #0 to host 127.0.0.1 left intact
# 下载到一半的时候出错的情况 curl -vv http://127.0.0.1:7001/api/v1/loop-export-file * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 7001 (#0) > GET /api/v1/loop-export-file HTTP/1.1 > Host: 127.0.0.1:7001 > User-Agent: curl > Accept: */* > < HTTP/1.1 200 OK < Content-Type: text/plain; charset=utf-8 < Content-Disposition: attachment; filename="LoopExportFile.txt" < Transfer-Encoding: chunked < x-content-type-options: nosniff < x-frame-options: SAMEORIGIN < x-xss-protection: 1; mode=block < x-download-options: noopen < x-readtime: 10 < Connection: keep-alive < Keep-Alive: timeout=5 < StartGet data success at 3006ms Get data success at 7008ms Get data success at 12021ms Get data success at 15036ms Get data success at 18049ms get data fail, Error: Random error* Connection #0 to host 127.0.0.1 left intact
# 下载成功完成 curl -vv http://127.0.0.1:7001/api/v1/loop-export-file * Trying 127.0.0.1... * TCP_NODELAY set * Connected to 127.0.0.1 (127.0.0.1) port 7001 (#0) > GET /api/v1/loop-export-file HTTP/1.1 > Host: 127.0.0.1:7001 > User-Agent: curl > Accept: */* > < HTTP/1.1 200 OK < Content-Type: text/plain; charset=utf-8 < Content-Disposition: attachment; filename="LoopExportFile.txt" < Transfer-Encoding: chunked < x-content-type-options: nosniff < x-frame-options: SAMEORIGIN < x-xss-protection: 1; mode=block < x-download-options: noopen < x-readtime: 11 < Connection: keep-alive < Keep-Alive: timeout=5 < StartGet data success at 5007ms Get data success at 8009ms Get data success at 13018ms Get data success at 17020ms Get data success at 20034ms Get data success at 24042ms End* Connection #0 to host 127.0.0.1 left intact