need to decode request data for python 3