I have a 3rd side service which making a POST request with file to my Django application.To success upload to Django application request must have 'multipart/form-data' content type but content type is 'octet-stream' in my case and Request.FILES is always empty. How can i receive file with 'octet-stream' content type in django?
request.content_type # is octet-stream
form = UploadFileForm(request.POST, files=request.FILES)
file = form.cleaned_data[file_name]