how i can play a downloaded audio file in response with django

Hello everyone I wanted to give in response an audio file downloaded from youtube but when I go to the page as a client I get a 40kb file I thought that my file was not downloaded whole. Please how can I fix this problem? thank you in advance.

here is the code

def data(request):
    url = ""
    video =
    audiostreams = video.audiostreams
    audio = audiostreams[3].download()

    response = HttpResponse(audio, content_type='"Content-Type: audio/mpeg"')
    response['Content-Disposition'] = 'attachment; filename="audio.m4a"'
    return response