diff options
Diffstat (limited to 'shared/extra-utils/requests')
-rw-r--r-- | shared/extra-utils/requests/requests.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/shared/extra-utils/requests/requests.ts b/shared/extra-utils/requests/requests.ts index 3f1ac6650..60c9b938b 100644 --- a/shared/extra-utils/requests/requests.ts +++ b/shared/extra-utils/requests/requests.ts | |||
@@ -7,10 +7,6 @@ import { URL } from 'url' | |||
7 | import { HttpStatusCode } from '@shared/core-utils' | 7 | import { HttpStatusCode } from '@shared/core-utils' |
8 | import { buildAbsoluteFixturePath, root } from '../miscs/tests' | 8 | import { buildAbsoluteFixturePath, root } from '../miscs/tests' |
9 | 9 | ||
10 | function get4KFileUrl () { | ||
11 | return 'https://download.cpy.re/peertube/4k_file.txt' | ||
12 | } | ||
13 | |||
14 | function makeRawRequest (url: string, statusCodeExpected?: HttpStatusCode, range?: string) { | 10 | function makeRawRequest (url: string, statusCodeExpected?: HttpStatusCode, range?: string) { |
15 | const { host, protocol, pathname } = new URL(url) | 11 | const { host, protocol, pathname } = new URL(url) |
16 | 12 | ||
@@ -227,7 +223,6 @@ function unwrapText (test: request.Test): Promise<string> { | |||
227 | // --------------------------------------------------------------------------- | 223 | // --------------------------------------------------------------------------- |
228 | 224 | ||
229 | export { | 225 | export { |
230 | get4KFileUrl, | ||
231 | makeHTMLRequest, | 226 | makeHTMLRequest, |
232 | makeGetRequest, | 227 | makeGetRequest, |
233 | decodeQueryString, | 228 | decodeQueryString, |