title: Sending an ArrayBuffer in PHP through JavaScript XHR2 object
body: <p>Here it is, I'm writing the new version of an AJAX library based on promises with XHR2 support (<a href="https://github.com/pyrsmk/qwest" rel="nofollow">https://github.com/pyrsmk/qwest</a>). I'm currently writing the unit tests and 95% of the library is now robust. Anyway, I need to verify that we can successfully retrieve an ArrayBuffer (XHR2 supports 'arraybuffer' response type) but how can I generate this ArrayBuffer with PHP? What protocol do I use? Base64?</p>
  
  <p>I really have no idea how I should handle the whole thing...</p>
  
  <p>EDIT : it seems that when I send an ArrayBuffer to PHP, the data is handled directly by the $_POST variable</p>