(options: {
expectingOk?: boolean;
format: string;
apiName: string;
})
| 63 | } |
| 64 | |
| 65 | export function responseParser(options: { |
| 66 | expectingOk?: boolean; |
| 67 | format: string; |
| 68 | apiName: string; |
| 69 | }) { |
| 70 | return (res: Response) => parseResponse(res, options); |
| 71 | } |
| 72 | |
| 73 | export function parseLinkHeader(header: string | null) { |
| 74 | if (!header) { |
no test coverage detected