Questions tagged [http-content-range]

35 questions
2
votes
1 answer

nginx proxy pass content range

How can I make nginx to send source server if Range header is passed by user? Currently I am tried this, but not worked: server { location / { if ($http_range) { set $var_arg_range $http_range; } if…
1
vote
1 answer

Does WinRT BackgroundTransfer support HTTP Content-Range for resumable downloads?

I need to download large files (200MB) in the background, and it should be resumable in case of interruptions. The server side supports Range Headers so just wondering if this is a supported scenario in BackgroundTransfer agent of WinRT from which…
Jobi Joy
  • 49,102
  • 20
  • 108
  • 119
1
vote
0 answers

416 Requested Range Not Satisfiable when range is wider than content

I get an Error 416 Range Not Satisfiable response when I make an http request with a byte-range of 0-65536. The byte length of the file requested is only 3356. Reading the spec on byte-range, it sounds like requesting a range that extends beyond the…
davemfish
  • 172
  • 1
  • 9
1
vote
1 answer

How to include content-range header to an http request from Logic app?

I have a system url Endpoint which requires the user to send some mandatory information in the header part, One of which is Content-range in the following format: "Content-Range": "bytes 0-4/5"; (start range-end range/total size) I am trying to call…
1
vote
1 answer

How to prevent browser from loading js from memory cache by range?

I opened my website in Chrome last night, then closed that tab, but didn't close browser. Today I failed to open my site in a new tab because jQuery(not use CDN) hits a syntax error: unexpected end of input. My site always hits this error no matter…
Yan
  • 854
  • 1
  • 8
  • 15
1
vote
1 answer

jPlayer seekable not working in IE

I have a subject issue. After little investigation I determined that it's because of TimeRangers object which is empty in IE case, and is fullfilled in Chrome/FF/etc. Firsly, I found that IE does not send Range request, while FF/Chrome does.…
Alex Zhukovskiy
  • 9,565
  • 11
  • 75
  • 151
1
vote
1 answer

Content-Range header IThitWebDav server

I have installed ITHIT webdav server engine. I tried using CalDev and Class1 server engine instances. However, I was not successful with enabling content-range header. When I am sending PUT with content-range header includes, the IIS server is…
1
vote
1 answer

Dojo Store, Dgrid and Erratic Entries

I'm trying to get dgrid to work with JsonRest. I've implemented a Perl based server-side component that issues the JSON data back. The response data looks like this: {"id:": 00016, "num": 00016, "range": "15 - 63 (49)", "uid": "0", "ipaddress":…
Timothy R. Butler
  • 1,097
  • 7
  • 20
0
votes
0 answers

PHP: How do I save a file to OneDrive?

I'm trying to save Outlook email attachments to OneDrive using msgraph-sdk-php. I can pull in the emails and get attachment information but I don't know how to save the attachments. I tried implementing this solution but I get this error: Client…
0
votes
0 answers

Is there any way to know how many bytes a client downloaded from a file on my server?

I'm looking for a way to get that information. I'm currently dealing with the problem of track how many seconds of an mp3 file were listened from the backend side. I've been working with the "Content-Range" header but it doesn't provide the…
0
votes
1 answer

PHP: How to do partial content downloads from data that is not a file. E.G. data stored inside of a variable pulled from AWS S3 Bucket

In the code below: In safari where it does partial downloading. I keep getting the error: Failed to load resource: Plug-in handled load I get inside of the if (isset($_SERVER['HTTP_RANGE'])) branch. Error_Log Verifies this. I checked in google…
0
votes
1 answer

Python - Requests HTTP content-range not working

can anyone please tell me why i am not able to get the range of contents using content-range header,instead i am getting the whole content in given url. import requests url="https://tools.ietf.org/rfc/rfc2822.txt " content =…
P Sairam
  • 1
  • 3
0
votes
1 answer

How do I prevent more than one occurence of a specific character using regular expressions

I have a regular expression that uses numbered capture groups: \\b${JOB_SEARCH_RESULTS_RANGE_KEY}\\s+((\\d+)-(\\d+)|\\*)/(\\d+|\\*) That will parse a Content-Header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range Currently,…
Randall Spencer
  • 69
  • 2
  • 11
0
votes
0 answers

OneDrive resumable upload in iOS

I'm having issue with resumable upload, using URLSession in iOS. Everything works, except the resumable upload. The session upload creation works, I've got my uploadUrl back, so I simply start an URLSessionUploadTask: let url = URL(string:…
0
votes
1 answer

Setting a custom Content-Range Header in Restlet for use in Dojo pagination fails

After reading the following thread: Setting a custom Content-Range Header using Restlet I tried setting a custom unitname in the Range for the entity. This does not solve the Problem. final Range range = new Range(); range.setUnitName("items"); …
Max
  • 1