* Create a copy of the response and return it. * @return {!FetchResponse}
()
| 140 | * @return {!FetchResponse} |
| 141 | */ |
| 142 | clone() { |
| 143 | devAssert(!this.bodyUsed, 'Body already used'); |
| 144 | return new FetchResponse(this.xhr_); |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Drains the response and returns the text. |
no test coverage detected