You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2010/11/05 12:08:28 UTC
svn commit: r1031513 - in /incubator/deltacloud/trunk/server/views/errors:
not_allowed.html.haml not_allowed.xml.haml
Author: mfojtik
Date: Fri Nov 5 11:08:28 2010
New Revision: 1031513
URL: http://svn.apache.org/viewvc?rev=1031513&view=rev
Log:
Added XML and HTML representation of 405 error code
Added:
incubator/deltacloud/trunk/server/views/errors/not_allowed.html.haml
incubator/deltacloud/trunk/server/views/errors/not_allowed.xml.haml
Added: incubator/deltacloud/trunk/server/views/errors/not_allowed.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/errors/not_allowed.html.haml?rev=1031513&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/views/errors/not_allowed.html.haml (added)
+++ incubator/deltacloud/trunk/server/views/errors/not_allowed.html.haml Fri Nov 5 11:08:28 2010
@@ -0,0 +1,6 @@
+%h1 Method Not Allowed
+
+%dl
+ %di
+ %dt Request URL
+ %dd= request.env['REQUEST_URI']
Added: incubator/deltacloud/trunk/server/views/errors/not_allowed.xml.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/errors/not_allowed.xml.haml?rev=1031513&view=auto
==============================================================================
--- incubator/deltacloud/trunk/server/views/errors/not_allowed.xml.haml (added)
+++ incubator/deltacloud/trunk/server/views/errors/not_allowed.xml.haml Fri Nov 5 11:08:28 2010
@@ -0,0 +1,2 @@
+%error{:url => "#{request.env['REQUEST_URI']}", :status => "#{response.status}"}
+ %message Method not allowed for this resource