Permalink
Browse files

removing redundant headers

  • Loading branch information...
1 parent 4d58264 commit 32729234204dbb9d7bab5a21afd19226869df9f7 waltee committed Jun 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/e-builder/helpers.rb
View
@@ -145,7 +145,7 @@ def path_ok? path
def not_found env
[
STATUS__NOT_FOUND,
- {HEADER__CONTENT_TYPE => CONTENT_TYPE__PLAIN, "X-Cascade" => "pass"},
+ {HEADER__CONTENT_TYPE => CONTENT_TYPE__PLAIN},
['Not Found: %s' % env[ENV__PATH_INFO]]
]
end
@@ -154,7 +154,7 @@ def not_implemented implemented
[
STATUS__NOT_IMPLEMENTED,
{HEADER__CONTENT_TYPE => CONTENT_TYPE__PLAIN},
- ["Resource found but it can be accessed only through %s" % implemented]
+ ['Resource found but it can be accessed only through %s' % implemented]
]
end

0 comments on commit 3272923

Please sign in to comment.