- reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses