make compatible with the new ResponseBuffer from wrap-contrib