The application/octet-stream content type is treated as a default rather than a specific declaration. We should check the filename extension for the more specific type in this case. If there's no extension, the type falls back to binary anyway.
Fixes regression in 1.0.2 → 1.0.3 introduced by #94.
The
application/octet-stream
content type is treated as a default rather than a specific declaration. We should check the filename extension for the more specific type in this case. If there's no extension, the type falls back to binary anyway.Fixes regression in 1.0.2 → 1.0.3 introduced by #94.