Image tile HTTP requests

From World Wind Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:35, 19 February 2005 (edit)
Mashiharu (Talk | contribs)

← Previous diff
Revision as of 14:57, 19 February 2005 (edit) (undo)
Llynix (Talk | contribs)
(Added conditional Get's)
Next diff →
Line 15: Line 15:
===Compression=== ===Compression===
Wouldn't it be more natural to have the web server set content encoding on it's responses and have World Wind read those using HttpWebResponse.ContentEncoding (and decompress when needed)? Wouldn't it be more natural to have the web server set content encoding on it's responses and have World Wind read those using HttpWebResponse.ContentEncoding (and decompress when needed)?
 +
 +===Conditional Gets and 403 Not Modified===
 +For our dynamic layers.
 +
 +Example:
 +HTTP GET If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT
 +
 +If the file was modifed since DATE, server will send the file. If not, server will send a 403 Not Modified. WW can and needs to implement this in several areas (WMS server lists?, Modis?) Plus for our "dynamic" layers.
[[Category:Dev]] [[Category:Dev]]

Revision as of 14:57, 19 February 2005

HTTP

This sample url:

returns 200 OK + following contents:

Can't find tile
105 0 0023 0059 image/jpeg .jpg

Would it be better to handle this the RFC way with status response codes?

Compression

Wouldn't it be more natural to have the web server set content encoding on it's responses and have World Wind read those using HttpWebResponse.ContentEncoding (and decompress when needed)?

Conditional Gets and 403 Not Modified

For our dynamic layers.

Example: HTTP GET If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT

If the file was modifed since DATE, server will send the file. If not, server will send a 403 Not Modified. WW can and needs to implement this in several areas (WMS server lists?, Modis?) Plus for our "dynamic" layers.

Personal tools