Skip to content

WebRequestClient and ResourceHandler data tpye errorBUG #629

Open
@ctlddey

Description

@ctlddey

` def OnDownloadData(self, web_request:PyRequest, data:bytes):
print("OnDownloadData()", type(data), data)

    self._data += data

OnDownloadData() <class 'str'> �PNG

�[
����b���U嘶�Н�;�%%��C'���
ѡ�ތ���L�~pR����h�c����������������� l�p�u��ŅI�F��F�v����:D�? �w��@�@���o� U�D��-��4&S��&(������� �������f�������{�֒� gܰB�wR�.����"f�R�s�'<E�@��H_wͺg�~���� D�M�"�]���(���v�~�i�%�� �
�8%M6����v�7�HBir���X�T ��

The api document say the data should be bytes, but I recieved is string,so the web page is broken

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions