This question already has answers here:
</div>
</div>
<div class="grid--cell mb0 mt4">
<a href="/questions/7686827/how-can-i-add-a-custom-http-header-to-ajax-request-with-js-or-jquery" dir="ltr">How can I add a custom HTTP header to ajax request with js or jQuery?</a>
<span class="question-originals-answer-count">
(9 answers)
</span>
</div>
<div class="grid--cell mb0 mt8">Closed <span title="2016-01-02 22:31:40Z" class="relativetime">4 years ago</span>.</div>
</div>
</aside>
There is a remote file that we want to read part of it, using Ajax. How can we do it just using JS, without server side techs like PHP?
I think I need to use HTTP Range header, but how to set it with Ajax? Is it possible to set HTTP headers in Ajax at all?
</div>