node-XMLHttpRequest icon indicating copy to clipboard operation
node-XMLHttpRequest copied to clipboard

Add xhr.response for 'arraybuffer' responseType.

Open hackerwins opened this issue 7 years ago • 0 comments

The responseType property of the XMLHttpRequest object can be set to change the expected response type from the server.

This patch can receive binary data from server with xhr.response.

for more details about sending and receiving binary data. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data

hackerwins avatar Dec 05 '17 07:12 hackerwins