Reputation: 133
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
Upvotes: 4
Views: 5707
Reputation: 8678
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:
Upvotes: 1