code: def create_response(self, payload):
          
          signedmess = bitjws.sign_serialize(self._privkey, requrl='/response',
                                             iat=time.time(), data=payload)
          return Response(signedmess, mimetype='application/jose')
docs: Create a signed bitjws response using the supplied payload.
          The response content-type will be 'application/jose'.
  
          :param payload: The response content. Must be json-serializable.
          :return: The signed Response with headers.
          :rtype: flask.Response