incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1031513 - in /incubator/deltacloud/trunk/server/views/errors: not_allowed.html.haml not_allowed.xml.haml
Date Fri, 05 Nov 2010 11:08:28 GMT
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



Mime
View raw message