[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] First run of the HTTP status codes test...

Just ran a test loading a meta data repository using the testserver's status-service to see what came out for all the http communication error codes...
Here is the first output... (looks fine - except that code 500 gets interpreted as an failure to authenticate...)

I like HTTP 418 - the april fool code...

HTTP 400 => REPOSITORY_FAILED_READ e-message: [Bad HTTP Request: http://localhost:58832/status/400/content.xml]
HTTP 402 => REPOSITORY_FAILED_READ e-message: [HTTP Payment Required: http://localhost:58832/status/402/content.xml]
HTTP 403 => REPOSITORY_FAILED_AUTHENTICATION e-message: [Authentication failed for http://localhost:58832/status/403]
HTTP 404 => REPOSITORY_NOT_FOUND e-message: [No repository found at http://localhost:58832/status/404.]
HTTP 405 => REPOSITORY_FAILED_READ e-message: [HTTP Method Not Allowed: http://localhost:58832/status/405/content.xml]
HTTP 406 => REPOSITORY_FAILED_READ e-message: [HTTP Request Not Acceptable: http://localhost:58832/status/406/content.xml]
HTTP 407 => REPOSITORY_FAILED_AUTHENTICATION e-message: [Authentication failed for http://localhost:58832/status/407]
HTTP 408 => REPOSITORY_FAILED_READ e-message: [HTTP Request Timeout: http://localhost:58832/status/408/content.xml]
HTTP 409 => REPOSITORY_FAILED_READ e-message: [HTTP Conflict In Request: http://localhost:58832/status/409/content.xml]
HTTP 410 => REPOSITORY_FAILED_READ e-message: [HTTP Remote File Permanently Removed: http://localhost:58832/status/410/content.xml]
HTTP 411 => REPOSITORY_FAILED_READ e-message: [HTTP Length Required: http://localhost:58832/status/411/content.xml]
HTTP 412 => REPOSITORY_FAILED_READ e-message: [HTTP Precondition Failed: http://localhost:58832/status/412/content.xml]
HTTP 413 => REPOSITORY_FAILED_READ e-message: [HTTP Requested Entity Too Large: http://localhost:58832/status/413/content.xml]
HTTP 414 => REPOSITORY_FAILED_READ e-message: [HTTP Request URI Too Long: http://localhost:58832/status/414/content.xml]
HTTP 415 => REPOSITORY_FAILED_READ e-message: [HTTP Unsupported Media Type: http://localhost:58832/status/415/content.xml]
HTTP 416 => REPOSITORY_FAILED_READ e-message: [HTTP Requested Range Not Satisfiable: http://localhost:58832/status/416/content.xml]
HTTP 417 => REPOSITORY_FAILED_READ e-message: [HTTP Expectation Failed: http://localhost:58832/status/417/content.xml]
HTTP 418 => REPOSITORY_FAILED_READ e-message: [HTTP Cannot provision coffee from a tea pot: http://localhost:58832/status/418/content.xml]
HTTP 422 => REPOSITORY_FAILED_READ e-message: [HTTP (WebDav) Unprocessable Entity: http://localhost:58832/status/422/content.xml]
HTTP 423 => REPOSITORY_FAILED_READ e-message: [HTTP (WebDAV) Locked: http://localhost:58832/status/423/content.xml]
HTTP 424 => REPOSITORY_FAILED_READ e-message: [HTTP (WebDAV) Failed Dependency: http://localhost:58832/status/424/content.xml]
HTTP 425 => REPOSITORY_FAILED_READ e-message: [HTTP Unordered Collection: http://localhost:58832/status/425/content.xml]
HTTP 426 => REPOSITORY_FAILED_READ e-message: [HTTP Upgrade Required: http://localhost:58832/status/426/content.xml]
HTTP 449 => REPOSITORY_FAILED_READ e-message: [HTTP Retry With Response: http://localhost:58832/status/449/content.xml]
HTTP 450 => REPOSITORY_FAILED_READ e-message: [HTTP Blocked By Parental Control: http://localhost:58832/status/450/content.xml]
HTTP 500 => REPOSITORY_FAILED_AUTHENTICATION e-message: [HTTP Server 'Internal Error': http://localhost:58832/status/500/content.xml]
HTTP 501 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Not Implemented': http://localhost:58832/status/501/content.xml]
HTTP 502 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Bad Gateway' : http://localhost:58832/status/502/content.xml]
HTTP 503 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Service Unavailable': http://localhost:58832/status/503/content.xml]
HTTP 504 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Gateway Timeout': http://localhost:58832/status/504/content.xml]
HTTP 505 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'HTTP Version Not Supported': http://localhost:58832/status/505/content.xml]
HTTP 506 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Variant Also Negotiates': http://localhost:58832/status/506/content.xml]
HTTP 507 => REPOSITORY_FAILED_READ e-message: [HTTP (WebDAV) 'Insufficient Storage': http://localhost:58832/status/507/content.xml]
HTTP 508 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Bandwidth Limit Exceeded': http://localhost:58832/status/508/content.xml]
HTTP 510 => REPOSITORY_FAILED_READ e-message: [HTTP Server 'Not Extended': http://localhost:58832/status/510/content.xml]

Regards