4

I am using the audio tag to play the audio mp3 recordings. Some of the files are giving 206 partial content. It is playing fine in normal players.

Request Method: GET Status Code: 206 Partial Content

Response Header:

Accept-Ranges: bytes
Content-Disposition: attachment; filename="test.mp3
Content-Length: 17472
Content-Range: bytes 0-17471/17472
Content-Type: audio/mp3

What should I do to solve this?

suggest any solutions

t.niese
  • 39,256
  • 9
  • 74
  • 101
Heena
  • 133
  • 1
  • 9

1 Answers1

1

206 partial content response should be OK (like a 200).
It is used to download streamed data in chunks. This way, it avoid sending the whole data each time.

It's up to the client to send a request for the rest of data, but you shouldn't care about because it is resolved automatically.

To go further:

TOPKAT
  • 6,667
  • 2
  • 44
  • 72