I have my own server running lighttpd. When viewing the headers with "curl -I ..." on my laptop through my standard / regular internet connection, I get this:
HTTP/1.1 200 OK
Content-Type: application/zip
ETag: "546653951"
Last-Modified: Wed, 08 May 2013 15:35:42 GMT
Content-Length: 28166067
Date: Wed, 08 May 2013 19:07:36 GMT
Server: lighttpd/1.4.28
When I switch my laptop over to my cell phone connection (wifi hotspot), I run the exact same command in the exact same terminal to the exact same server, I get back this:
HTTP/1.1 200 OK
Content-Type: application/zip
Accept-Ranges: bytes
ETag: "546653951"
Last-Modified: Wed, 08 May 2013 15:35:42 GMT
Content-Length: 28166067
Date: Wed, 08 May 2013 19:09:23 GMT
Server: lighttpd/1.4.28
Note that "Accept-Ranges: bytes" is present in the second case but not the first.
What can possibly be causing this? I desperately need this pause / resume capability, it's been missing on my connection for as long as I can remember and just never investigated why (not just to my own server, but to ANY server / file that I wanted to download)... From a different computer I have access to, running the same curl command shows that Accept-Ranges: bytes is present, so I'm assuming there is something wonky with my regular ISP here at home.
Would network hardware cause this? Incompatible router / switch maybe? Or would it be the ISP itself?
Any thoughts?
As requested by Dennis, here is the output:
echo > tempfile; wget -d -c -O tempfile redtwitz.com
Setting --continue (continue) to 1
Setting --output-document (outputdocument) to tempfile
DEBUG output created by Wget 1.13.4 on linux-gnu.
URI encoding = `UTF-8'
--2013-05-10 12:20:48-- http://redtwitz.com/
Resolving redtwitz.com (redtwitz.com)... 184.22.37.72
Caching redtwitz.com => 184.22.37.72
Connecting to redtwitz.com (redtwitz.com)|184.22.37.72|:80... connected.
Created socket 4.
Releasing 0x00000000013d1310 (new refcount 1).
---request begin---
GET / HTTP/1.1
Range: bytes=1-
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: */*
Host: redtwitz.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Date: Fri, 10 May 2013 16:21:56 GMT
Server: Apache/2.2.14 (Ubuntu)
Last-Modified: Thu, 02 Aug 2012 13:41:17 GMT
ETag: "a819c40-d-4c64890da1940"
Content-Length: 13
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
---response end---
200 OK
Registered socket 4 for persistent reuse.
Length: 13 [text/html]
Saving to: `tempfile'
100%[================================================================>] 13 --.-K/s in 0s
2013-05-10 12:20:49 (783 KB/s) - `tempfile' saved [13/13]
more tempfile
edtwitz.com
curl --range 0-100 URL
)?echo > tempfile; wget -d -c -O tempfile redtwitz.com