[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #KOO-280301]: Reading data via URLs in IDV: setting Content-Length and Accept-Ranges headers



Hi Dave,

> I installed LiveHTTPHeaders and accessed an HTML document served by my
> Apache 2.2.8 Web server, a couple of directories, and a NetCDF data
> file (which my broswer downloaded rather than trying to display), but
> I didn't see "Accept-Ranges: bytes" or "Content-Length: #" appearing
> under "Headers". Should I have?

I see both headers when requesting a netCDF file from either virga or funnel. 
But I don't see it for the index/directory page where the netCDF file resides. 
Below is what I get in Live HTTP Headers.

Ethan

http://virga.sfsu.edu/data/LDAD/urbanet/20080610_1200.nc

GET /data/LDAD/urbanet/20080610_1200.nc HTTP/1.1
Host: virga.sfsu.edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) 
Gecko/20080404 Firefox/2.0.0.14
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://virga.sfsu.edu/data/LDAD/urbanet/

HTTP/1.x 200 OK
Date: Thu, 12 Jun 2008 21:43:10 GMT
Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2
Last-Modified: Tue, 10 Jun 2008 14:19:39 GMT
Etag: "5e9620-96c41c-44f509e5214c0"
Accept-Ranges: bytes
Content-Length: 9880604
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/x-netcdf
----------------------------------------------------------
http://funnel.sfsu.edu/data/LDAD/urbanet/

GET /data/LDAD/urbanet/ HTTP/1.1
Host: funnel.sfsu.edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) 
Gecko/20080404 Firefox/2.0.0.14
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Thu, 12 Jun 2008 21:43:38 GMT
Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.5
MS-Author-Via: DAV
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html;charset=UTF-8
----------------------------------------------------------
http://funnel.sfsu.edu/data/LDAD/urbanet/20080610_1200.nc

GET /data/LDAD/urbanet/20080610_1200.nc HTTP/1.1
Host: funnel.sfsu.edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) 
Gecko/20080404 Firefox/2.0.0.14
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://funnel.sfsu.edu/data/LDAD/urbanet/

HTTP/1.x 200 OK
Date: Thu, 12 Jun 2008 21:43:46 GMT
Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.5
Last-Modified: Tue, 10 Jun 2008 14:19:39 GMT
Etag: "5e9620-96c41c-44f509e5214c0"
Accept-Ranges: bytes
Content-Length: 9880604
MS-Author-Via: DAV
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Content-Type: application/x-netcdf


Ticket Details
===================
Ticket ID: KOO-280301
Department: Support THREDDS
Priority: Normal
Status: Open