Skip to content

499 Client Closed Request

An unofficial Nginx code. The client closed the connection before the server could send a response.

Nginx uses this internally in log files to indicate that the client hung up before Nginx could build the response.

import { HttpException, get } from 'shokupan';
export const getResource = get('/resource', () => {
throw new HttpException('Client Closed Request', 499);
});