#3 When no content-type passed by file in upload, try to find the files content type before assigning 'application/octet-stream'

Открыто
открыта 3 лет назад Uncled1023 · комментариев: 0
Uncled1023 прокомментировал 3 лет назад

When a file is uploaded via the api with no options and the file doesn’t have a content-type, the server should try to get the content-type from the file before assigning application/octet-stream.

This issue has occurred when uploading a .png file using curl and the content-type of the uploaded file object was null.

When a file is uploaded via the api with no options and the file doesn't have a content-type, the server should try to get the content-type from the file before assigning application/octet-stream. This issue has occurred when uploading a .png file using curl and the content-type of the uploaded file object was null.
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет назначенных лиц
1 участников
Срок выполнения

Срок выполнения не установлен.

Зависимости

В настоящее время эта задача не имеет зависимостей.

Загрузка…
Отмена
Сохранить
Пока нет содержимого.