Fix for missing error reporting in WSF_PUT/POST_HELPER
This commit is contained in:
@@ -62,6 +62,9 @@ feature {NONE} -- Implementation
|
|||||||
a_handler.append_resource (req, res)
|
a_handler.append_resource (req, res)
|
||||||
-- 200 or 204 or 303 or 500 (add support for this?)
|
-- 200 or 204 or 303 or 500 (add support for this?)
|
||||||
-- FIXME: more support, such as includes_response_entity
|
-- FIXME: more support, such as includes_response_entity
|
||||||
|
if not a_handler.response_ok (req) then
|
||||||
|
write_error_response (req, res)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -62,6 +62,9 @@ feature {NONE} -- Implementation
|
|||||||
a_handler.update_resource (req, res)
|
a_handler.update_resource (req, res)
|
||||||
-- 204 or 500 (add support for this?)
|
-- 204 or 500 (add support for this?)
|
||||||
-- FIXME: more support, such as includes_response_entity
|
-- FIXME: more support, such as includes_response_entity
|
||||||
|
if not a_handler.response_ok (req) then
|
||||||
|
write_error_response (req, res)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user