Bug 1039846 - Response implementation rebased on maple.

--HG--
extra : rebase_source : de45e80cf5e64840f2ac9ed47297462a67600792
extra : amend_source : 641c53197357da86dd8611dbd353098cea3346c9