Skip to content

AsyncConnection default `Content-Type` for binary and `Accept` for all changed

Pavlo Mashliakovskiy requested to merge feat/xhrBinary into master
  • AsyncConnection.xhr|post adds the header Content-Type: application/octet-stream if the content type is not specified and data is ArrayBuffer|ArrayBufferView
  • default value for Accept header of AsyncConnection.xhr was changed from application/json, text/plain, */* to */*

Merge request reports

Loading