|
1 | 1 | // Copyright (c) Microsoft Corporation. |
2 | 2 | // Licensed under the MIT license. |
3 | 3 |
|
4 | | -import * as tough from "tough-cookie"; |
5 | 4 | import * as http from "http"; |
6 | 5 | import * as https from "https"; |
7 | | -import node_fetch from "node-fetch"; |
8 | | -import FormData from "form-data"; |
9 | | -import { AbortError, AbortController } from "@azure/abort-controller"; |
10 | | - |
11 | | -import { HttpOperationResponse } from "./httpOperationResponse"; |
| 6 | +import * as tough from "tough-cookie"; |
| 7 | +import { AbortController, AbortError } from "@azure/abort-controller"; |
| 8 | +import { HttpHeaders, HttpHeadersLike } from "./httpHeaders"; |
| 9 | +import { ProxyAgent, createProxyAgent, isUrlHttps } from "./proxyAgent"; |
| 10 | +import { Readable, Transform } from "stream"; |
12 | 11 | import { TransferProgressEvent, WebResourceLike } from "./webResource"; |
13 | | -import { createProxyAgent, ProxyAgent, isUrlHttps } from "./proxyAgent"; |
| 12 | +import FormData from "form-data"; |
14 | 13 | import { HttpClient } from "./httpClient"; |
15 | | -import { Readable, Transform } from "stream"; |
16 | | -import { HttpHeaders, HttpHeadersLike } from "./httpHeaders"; |
| 14 | +import { HttpOperationResponse } from "./httpOperationResponse"; |
17 | 15 | import { RestError } from "./restError"; |
18 | 16 | import { logger } from "./log"; |
| 17 | +import node_fetch from "node-fetch"; |
19 | 18 |
|
20 | 19 | interface AgentCache { |
21 | 20 | httpAgent?: http.Agent; |
|
0 commit comments