在JS,因為String.prototype.length 回傳的是字串長度,而不是實際有幾個byte ... 在HTTP 的Content-Length 是要看幾個byte,所以要用Buffer.
確定! 回上一頁