Refactoring
    Fixed a bug that caused decoding error.
    In request_data method former string decoding ascii did not handle all available characters.
    ascii changed to utf-8.