* uses local type instead of application/octet-stream

At server-side, Content type always come up with 'application/octet-stream'. Would be nice (useful?) to copy across the local type.