@v4fire/core
Version:
V4Fire core library
30 lines (29 loc) • 898 B
TypeScript
/*!
* V4Fire Core
* https://github.com/V4Fire/Core
*
* Released under the MIT license
* https://github.com/V4Fire/Core/blob/master/LICENSE
*/
import Range from '../../../core/range';
import type { ResponseType } from '../../../core/request';
/**
* Status codes that cannot contain any content according to the HTTP standard
*
* 1xx - https://tools.ietf.org/html/rfc7231#section-6.2
* 204 - https://tools.ietf.org/html/rfc7231#section-6.3.5
* 304 - https://tools.ietf.org/html/rfc7232#section-4.1
*
* TODO: https://github.com/V4Fire/Core/issues/421
*/
export declare const noContentStatusCodes: number[];
export declare const defaultResponseOpts: {
url: string;
redirected: boolean;
status: number;
statusText: string;
okStatuses: Range<import("../../../core/range").RangeValue>;
noContentStatuses: number[];
responseType: ResponseType;
headers: {};
};