Skip to content

425 Too Early

The server refuses to process the request because it might be replayed maliciously before the connection is fully secured.

Highly advanced. Use this to reject early data in a TLS handshake if you suspect a replay attack.

import { HttpException, get } from 'shokupan';
export const getResource = get('/resource', () => {
throw new HttpException('Too Early', 425);
});