{"json_modified": "2016-10-06T03:31:48.626673", "uuid": "f7820fdf-0d2e-4e58-8133-8db861d5d49e", "title": "Sending and Receiving Binary Data", "url": "/en-US/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data", "tags": ["AJAX", "XMLHttpRequest", "MIME", "FileReader"], "translations": [{"uuid": "964a13ee-b969-4293-babe-f0960bc4bd53", "title": "\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u306e\u9001\u4fe1\u3068\u53d7\u4fe1", "url": "/ja/docs/XMLHttpRequest/Sending_and_Receiving_Binary_Data", "tags": ["AJAX", "XMLHttpRequest", "FileReader"], "summary": "XMLHttpRequest \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e r
esponseType
\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d0\u306b\u671f\u5f85\u3059\u308b response type \u3092\u5909\u66f4\u3059\u308b\u4e8b\u304c\u51fa\u6765\u307e\u3059\u3002\u8a2d\u5b9a\u53ef\u80fd\u306a\u5024\u306f\u7a7a\u6587\u5b57\u5217(\u30c7\u30d5\u30a9\u30eb\u30c8), \"arraybuffer\"
, \"blob\"
, \"document\"
, \"json\"
, \u305d\u3057\u3066 \"text\"
\u3067\u3059\u3002response
\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f responseType
\u306b\u5fdc\u3058\u3066ArrayBuffer
, Blob
, Document
, JSON
, \u307e\u305f\u306f string \u306e\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30dc\u30c7\u30a3\u304c\u5165\u308a\u307e\u3059\u3002\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u4e0d\u5b8c\u5168\u3067\u3042\u3063\u305f\u308a\u6210\u529f\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u306f null
\u306b\u306a\u308a\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-01T08:36:22", "review_tags": []}, {"uuid": "c6e648e6-097b-4d9d-a1b8-7a772e167d82", "title": "\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445", "url": "/ru/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data", "tags": [], "summary": "The r
esponseType
property of the XMLHttpRequest object can be set to change the expected response type from the server. Possible values are the empty string (default), \"arraybuffer\"
, \"blob\"
, \"document\"
, \"json\"
, and \"text\"
. The response
property will contain the entity body according to responseType
, as an ArrayBuffer
, Blob
, Document
, JSON
, or string. This is null
if the request is not complete or was not successful.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2016-10-06T03:31:44", "review_tags": []}, {"uuid": "005f98a6-7356-42ee-bc03-ee2df0eff939", "title": "Sending and Receiving Binary Data", "url": "/zh-CN/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data", "tags": [], "summary": "\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u4e00\u4e2aXMLHttpRequest\u5bf9\u8c61\u7684r
esponseType
\u5c5e\u6027\u6765\u6539\u53d8\u4e00\u4e2a\u4ece\u670d\u52a1\u5668\u4e0a\u8fd4\u56de\u7684\u54cd\u5e94\u7684\u6570\u636e\u7c7b\u578b.\u53ef\u7528\u7684\u5c5e\u6027\u503c\u4e3a\u7a7a\u5b57\u7b26\u4e32 (\u9ed8\u8ba4), \"arraybuffer\", \"blob\", \"document\", \u548c \"text\". r
esponse\u5c5e\u6027\u7684\u503c\u4f1a\u6839\u636e
r
esponseType\u5c5e\u6027\u7684\u503c\u7684\u4e0d\u540c\u800c\u4e0d\u540c
, \u53ef\u80fd\u4f1a\u662f\u4e00\u4e2a ArrayBuffer
, Blob
, Document
, string,\u6216\u8005\u4e3aNULL(\u5982\u679c\u8bf7\u6c42\u672a\u5b8c\u6210\u6216\u5931\u8d25)
", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-05-13T09:16:18", "review_tags": []}], "modified": "2016-08-23T02:31:21", "label": "Sending and Receiving Binary Data", "localization_tags": [], "locale": "en-US", "id": 1510, "last_edit": "2016-08-23T02:31:18", "summary": "The r
esponseType
property of the XMLHttpRequest object can be set to change the expected response type from the server. Possible values are the empty string (default), \"arraybuffer\"
, \"blob\"
, \"document\"
, \"json\"
, and \"text\"
. The response
property will contain the entity body according to responseType
, as an ArrayBuffer
, Blob
, Document
, JSON
, or string. This is null
if the request is not complete or was not successful.", "sections": [{"id": "Receiving_binary_data_using_JavaScript_typed_arrays", "title": "Receiving binary data using JavaScript typed arrays"}, {"id": "Receiving_binary_data_in_older_browsers", "title": "Receiving binary data in older browsers"}, {"id": "Receiving_binary_data_anywhere", "title": "Receiving binary data anywhere"}, {"id": "Sending_binary_data", "title": "Sending binary data"}, {"id": "Sending_typed_arrays_as_binary_data", "title": "Sending typed arrays as binary data"}, {"id": "Submitting_forms_and_uploading_files", "title": "Submitting forms and uploading files"}, {"id": "Firefox-specific_examples", "title": "Firefox-specific examples"}], "slug": "Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data", "review_tags": []}