+ protected getRawRequest (options: Omit<InternalGetCommandOptions, 'path'>) {
+ const { url, range } = options
+ const { host, protocol, pathname } = new URL(url)
+
+ return this.getRequest({
+ ...options,
+
+ token: this.buildCommonRequestToken(options),
+ defaultExpectedStatus: this.buildStatusCodeExpected(options),
+
+ url: `${protocol}//${host}`,
+ path: pathname,
+ range
+ })
+ }
+
+ protected getRequest (options: InternalGetCommandOptions) {
+ const { redirects, query, contentType, accept } = options
+
+ return makeGetRequest({
+ ...this.buildCommonRequestOptions(options),
+
+ redirects,
+ query,
+ contentType,
+ accept
+ })
+ }
+
+ protected deleteRequest (options: InternalCommonCommandOptions) {
+ return makeDeleteRequest(this.buildCommonRequestOptions(options))
+ }
+
+ protected putBodyRequest (options: InternalCommonCommandOptions & {