Default to application/octet-stream content-type if not set
Handle all content-types except text/xml identically
Recompiled core.js from modified source file