Fix for missing error reporting in WSF_PUT/POST_HELPER

This commit is contained in:
Colin Adams
2016-05-20 15:32:52 +01:00
committed by Jocelyn Fiat
parent cc3c8af6b4
commit ad90e7c135
2 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,9 @@ feature {NONE} -- Implementation
a_handler.append_resource (req, res)
-- 200 or 204 or 303 or 500 (add support for this?)
-- 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

View File

@@ -62,6 +62,9 @@ feature {NONE} -- Implementation
a_handler.update_resource (req, res)
-- 204 or 500 (add support for this?)
-- 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