Home Reference Source Repository

js/util/BinaryRequest.js

'use strict'

import {AjaxRequest} from './AjaxRequest'

/**
 * BinaryRequest class
 * @access public
 */
export class BinaryRequest extends AjaxRequest {
  /**
   * constructor
   * @access public
   * @constructor
   */
  constructor() {
    super()
    this.defaultOptions.mimeType = 'text/plain; charset=x-user-defined'
  }
}

export default new BinaryRequest()