Attached is a patch which auto-detects the content type of a binary being uploaded with the upload command. It uses the built-in content type detection algorithm in the http package. It also adds a command-line switch to override the auto-detected content type.
0001-Add-content-type-autodetection.patch.zip
Attached is a patch which auto-detects the content type of a binary being uploaded with the
uploadcommand. It uses the built-in content type detection algorithm in thehttppackage. It also adds a command-line switch to override the auto-detected content type.0001-Add-content-type-autodetection.patch.zip