1c29c51996-11-20David K├ągedal // -*- Pike -*-
ea13c52004-05-19Martin Stjernholm // $Id: variables.h,v 1.16 2004/05/19 19:14:46 mast Exp $
b1fca01996-11-12Per Hedbor // Fallback-resources, don't change here.
e218002000-01-05Per Hedbor private static constant errors =
b1fca01996-11-12Per Hedbor ([
c73e1b2000-12-10Per Hedbor  100:"Continue", 101:"Switching Protocols", 102:"Processing",
7477b42000-05-10Martin Nilsson 
c73e1b2000-12-10Per Hedbor  200:"OK",
ea13c52004-05-19Martin Stjernholm  201:"Created", // URI follows
c73e1b2000-12-10Per Hedbor  202:"Accepted",
ea13c52004-05-19Martin Stjernholm  203:"Non-Authoritative Information", // Provisional Information
c73e1b2000-12-10Per Hedbor  204:"No Content", 205:"Reset Content",
ea13c52004-05-19Martin Stjernholm  206:"Partial Content", // Byte Ranges
c73e1b2000-12-10Per Hedbor  207:"Multi-Status",
bc8c062004-03-02Martin Stjernholm  226:"IM Used", // RFC 3229
7477b42000-05-10Martin Nilsson 
ea13c52004-05-19Martin Stjernholm  300:"Multiple Choices", // Moved 301:"Moved Permanently", // Permanent Relocation
bc8c062004-03-02Martin Stjernholm  302:"Found", 303:"See Other",
c73e1b2000-12-10Per Hedbor  304:"Not Modified", 305:"Use Proxy",
bc8c062004-03-02Martin Stjernholm  // RFC 2616 10.3.7: 306 not used but reserved. 307:"Temporary Redirect",
b1fca01996-11-12Per Hedbor 
c73e1b2000-12-10Per Hedbor  400:"Bad Request",
ea13c52004-05-19Martin Stjernholm  401:"Unauthorized", // Access denied
c73e1b2000-12-10Per Hedbor  402:"Payment Required", 403:"Forbidden",
ea13c52004-05-19Martin Stjernholm  404:"Not Found", // No such file or directory 405:"Method Not Allowed",
c73e1b2000-12-10Per Hedbor  406:"Not Acceptable",
ea13c52004-05-19Martin Stjernholm  407:"Proxy Authentication Required", // Proxy authorization needed 408:"Request Timeout",
c73e1b2000-12-10Per Hedbor  409:"Conflict",
ea13c52004-05-19Martin Stjernholm  410:"Gone", // This document is no more. It has gone to meet its creator. It is gone. It will not be back. Give up. I promise. There is no such file or directory.",
c73e1b2000-12-10Per Hedbor  411:"Length Required", 412:"Precondition Failed", 413:"Request Entity Too Large",
ea13c52004-05-19Martin Stjernholm  414:"Request-URI Too Long",
c73e1b2000-12-10Per Hedbor  415:"Unsupported Media Type",
ea13c52004-05-19Martin Stjernholm  416:"Requested Range Not Satisfiable",
c73e1b2000-12-10Per Hedbor  417:"Expectation Failed", 418:"I'm a teapot",
7477b42000-05-10Martin Nilsson  // FIXME: What is 419?
c73e1b2000-12-10Per Hedbor  420:"Server temporarily unavailable", 421:"Server shutting down at operator request", 422:"Unprocessable Entity", 423:"Locked", 424:"Failed Dependency",
7477b42000-05-10Martin Nilsson 
c73e1b2000-12-10Per Hedbor  500:"Internal Server Error.", 501:"Not Implemented",
ea13c52004-05-19Martin Stjernholm  502:"Bad Gateway", // Gateway Timeout 503:"Service Unavailable", 504:"Gateway Timeout", 505:"HTTP Version Not Supported",
267a822004-03-02Martin Stjernholm  506:"Variant also negotiates",
c73e1b2000-12-10Per Hedbor  507:"Insufficient Storage",
6a469d1998-08-20Per Hedbor ]);
b1fca01996-11-12Per Hedbor