Skip to content

208 Already Reported

WebDAV code avoiding sending the same information twice in a single response.

WebDAV specific. Used to avoid repeatedly listing the same directory members in a single response.

import { HttpCode, get } from 'shokupan';
export const getResource = get('/resource', () => {
return { message: 'Already Reported' };
}).pipe(HttpCode(208));