* Return raw response as Blob * * @return Promise
()
| 6139 | * @return Promise |
| 6140 | */ |
| 6141 | blob() { |
| 6142 | let ct2 = this.headers && this.headers.get("content-type") || ""; |
| 6143 | return consumeBody.call(this).then(function(buf) { |
| 6144 | return Object.assign( |
| 6145 | // Prevent copying |
| 6146 | new Blob5([], { |
| 6147 | type: ct2.toLowerCase() |
| 6148 | }), |
| 6149 | { |
| 6150 | [BUFFER]: buf |
| 6151 | } |
| 6152 | ); |
| 6153 | }); |
| 6154 | }, |
| 6155 | /** |
| 6156 | * Decode response as json |
| 6157 | * |
nothing calls this directly
no test coverage detected
searching dependent graphs…