request / request
Showing 1 of 1 files from the diff.
Newly tracked file
request.js changed.

@@ -1124,9 +1124,9 @@
Loading
1124 1124
    if (bufferLength) {
1125 1125
      debug('has body', self.uri.href, bufferLength)
1126 1126
      response.body = Buffer.concat(buffers, bufferLength)
1127 -
      if (self.encoding !== null) {
1128 -
        response.body = response.body.toString(self.encoding)
1129 -
      }
1127 +
      //if (self.encoding !== null) {
1128 +
      //  response.body = response.body.toString(self.encoding)
1129 +
      //}
1130 1130
      // `buffer` is defined in the parent scope and used in a closure it exists for the life of the Request.
1131 1131
      // This can lead to leaky behavior if the user retains a reference to the request object.
1132 1132
      buffers = []
Files Coverage
lib 97.42%
tests 98.08%
index.js 97.33%
request.js 89.35%
Project Totals (69 files) 96.63%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading