def post(self, offset, data, status=[200,201], *args, **kwds): params = '%s=1' % url_escape(self.dumps(data)) if 'extra_environ' in kwds: self.extra_environ = kwds['extra_environ'] response = self.app.post(offset, params=params, status=status, extra_environ=self.get_extra_environ()) return response