private static void SetupResponse(byte[][] response, string method)
{
for (int i = 0; i < 406; i++)
response[i] = ASCII.GetBytes(method + " " + (i + 100) + @"\r\n");
response[0] = ASCII.GetBytes(method + " 100 Continue\r\n");
response[100] = ASCII.GetBytes(method + " 200 OK\r\n");
response[101] = ASCII.GetBytes(method + " 201 Created\r\n");
response[102] = ASCII.GetBytes(method + " 202 Accepted\r\n");
response[104] = ASCII.GetBytes(method + " 204 No Content\r\n");
response[202] = ASCII.GetBytes(method + " 302 Found\r\n");
response[204] = ASCII.GetBytes(method + " 304 Not Modified\r\n");
response[300] = ASCII.GetBytes(method + " 400 Bad Request\r\n");
response[301] = ASCII.GetBytes(method + " 401 Unauthorized\r\n");
response[303] = ASCII.GetBytes(method + " 403 Forbidden\r\n");
response[304] = ASCII.GetBytes(method + " 404 Not Found\r\n");
response[305] = ASCII.GetBytes(method + " 405 Method Not Allowed\r\n");
response[306] = ASCII.GetBytes(method + " 406 Not Acceptable\r\n");
response[308] = ASCII.GetBytes(method + " 408 Request Timeout\r\n");
response[309] = ASCII.GetBytes(method + " 409 Conflict\r\n");
response[311] = ASCII.GetBytes(method + " 411 Length Required\r\n");
response[313] = ASCII.GetBytes(method + " 413 Request Entity Too Large\r\n");
response[314] = ASCII.GetBytes(method + " 414 Request-URI Too Long\r\n");
response[315] = ASCII.GetBytes(method + " 415 Unsupported Media Type\r\n");
response[400] = ASCII.GetBytes(method + " 500 Internal Server Error\r\n");
response[401] = ASCII.GetBytes(method + " 501 Not Implemented\r\n");
response[403] = ASCII.GetBytes(method + " 503 Service Unavailable\r\n");
response[405] = ASCII.GetBytes(method + " 505 HTTP Version Not Supported\r\n");
}