diff --git a/src/qiniu.js b/src/qiniu.js index 932c7184..f84eaa5a 100644 --- a/src/qiniu.js +++ b/src/qiniu.js @@ -1511,7 +1511,7 @@ // send statistics log if (!op.disable_statistics_report) { - var req_id = info.responseHeaders.match(/(X-Reqid\:\ )([\w\.\%-]*)/)[2]; + var req_id = info.responseHeaders.match(/(X-Reqid\:\ )([\w\.\%-]*)/i)[2]; var startAt = file._start_at ? file._start_at.getTime() : nowTime.getTime(); statisticsLogger.log( info.status, @@ -1823,4 +1823,4 @@ global.Qiniu = Qiniu; global.QiniuJsSDK = QiniuJsSDK; -})(window); \ No newline at end of file +})(window);