-1

Possible Duplicate:
How can I find out whether a server supports the Range header?

I want to make a jPlayer media player but it says that the server must enable Range requests.

It says that this is easy to check for by seeing if your server's resonse includes the Accept-Ranges in its header - but I don't know how to do this 'easy' thing.

I think it is the same question as How can I find out whether a server supports the Range header? but I need a step by step idiot guide to how to carry out the test. I couldn't work it out from that answer. Can anyone help? I guess I need to upload a php page to my server with some code on it?

Thank you.

Community
  • 1
  • 1
rootsical
  • 69
  • 1
  • 7

1 Answers1

5

OK well apparently this is how you can do it (thanks to Mark Panaghiston at JPlayer for this)..

  • Navigate to the url address of a video (mp4 in my case) on the server in question in Chrome/Firefox.

  • Open up the developer tools (in Chrome, shortcut CTRL-SHIFT-i or F12)

  • Switch to the network tab of the developer tools

  • Select the video/file in question

  • Then click for the Headers tab for information

  • Look to see if you have a Header Response for Accept Ranges: Bytes

If this Accept Ranges has a value like bytes, then it means range requests are accepted.

Showing the developer tools F12 menu for Network and headers

David d C e Freitas
  • 7,481
  • 4
  • 58
  • 67
rootsical
  • 69
  • 1
  • 7