Fixed problem when XHR would send in header "application/octet-stream;
charset=utf-8", then Request.data would be "ok" instead of proper data
Merge pull request #342 from rase-/Inventorum

Fixed problem when XHR would send in header "application/octet-stream; charset=utf-8" -- rebased