// Should be uppercase, because e.g this browser issue: https://github.com/axios/axios/issues/26
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD'

export type HttpStatusFamily = 5 | 4 | 3 | 2 | 1

/**
 * Number, representing a valid Http status code (e.g 401, 500, etc)
 */
export type HttpStatusCode = number

export const HTTP_METHODS: HttpMethod[] = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD']
