'Sets the encoding used for GET/POST accesses. If the GET or POST
dictionary has already been created, it is removed and recreated on the
next access (so that it is decoded correctly).'

@encoding.setter
def encoding(self, val):

    self._encoding = val
    if hasattr(self, u'_get'):
        del self._get
    if hasattr(self, u'_post'):
        del self._post
