Error trying to read octet-stream

This is a fix. The good way to handle all cases would be to read only recognized content-types.