GetData.cgi

Description

Get images/status with "multipart/x-mixed-replace" mime-type. (no privilege required)

Grammar

/GetData.cgi[?Status=<true|false>]

Remark

GetData.cgi is designed for "server-push". "Server-push" means that user need not always detect camera's state, and the camera server transfer the camera data on its own.
GetData.cgi[?Status=false] returns:

HTTP/1.0 200 OK
Date: Wed, 19 Feb 2003 03:40:16 GMT
Server: WYM/1.0
Connection: close
Content-Type: multipart/x-mixed-replace;boundary=WINBONDBOUDARY
Last-Modified: Wed, 19 Feb 2003 03:40:16 GMT
Pragma: no-cache
Cache-Control: no-cache
Expires: 01 Jan 1970 00:00:00 GMT

--WINBONDBOUDARY
Content-Type: image/jpeg
<content of jpeg file>

--WINBONDBOUDARY
Content-Type: image/jpeg
<content of jpeg file>

--WINBONDBOUDARY
...
GetData.cgi?Status=true returns:

HTTP/1.0 200 OK
Date: Wed, 19 Feb 2003 03:40:16 GMT
Server: WYM/1.0
Connection: close
Content-Type: multipart/x-mixed-replace;boundary=WINBONDBOUDARY
Last-Modified: Wed, 19 Feb 2003 03:40:16 GMT
Pragma: no-cache
Cache-Control: no-cache
Expires: 01 Jan 1970 00:00:00 GMT

--WINBONDBOUDARY
Content-Type: image/jpeg
<content of jpeg file>

--WINBONDBOUDARY
Content-Type: text/plain
<same as what's returned by GetStatus.cgi>

--WINBONDBOUDARY
Content-Type: image/jpeg
<content of jpeg file>

--WINBONDBOUDARY
Content-Type: text/plain
<same as what's returned by GetStatus.cgi>

--WINBONDBOUDARY
...

Example

<!--
In mozilla, you can view active image through tag "<img>".
-->
<img src=/GetData.cgi >