<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">i am also scanning hunchentoot documentation.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">

i have found about outgoing headers,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">the accessor header-out  and setf of it creates a new one if not exists.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">

maybe sent content type header can be setf ed by this at the beginnig of the lisp function</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">that has been dispatched to the url. by url I mean script mentioning it as eventSource("url") in html5 document.</div>

<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">same for cache-control header.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">

Is there any inside thing in the implementation of server that shuld be changed?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Am I naively thinking above not regarding implementation of the server?</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 28, 2014 at 11:09 PM, Faruk S. Can <span dir="ltr"><<a href="mailto:farukscan@gmail.com" target="_blank">farukscan@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><span style="color:rgb(64,64,64);font-family:verdana,helvetica,arial,sans-serif;font-size:13px;line-height:16px">I have read in w3schools about usage of server sent events in html5.</span></div>



<div class="gmail_default"><font color="#404040" face="verdana, helvetica, arial, sans-serif"><span style="line-height:16px">it says:</span></font></div><div class="gmail_default"><ul style="font-family:verdana,helvetica,arial,sans-serif;font-size:13px;line-height:16px;color:rgb(64,64,64)">



<li>Set the "Content-Type" header to "text/event-stream"</li><li>Specify that the page should not cache</li><li>Output the data to send (<strong>Always</strong> start with "data: ")</li></ul>



<span style="color:rgb(64,64,64);font-family:verdana,helvetica,arial,sans-serif;font-size:13px;line-height:16px">that is in echo line in php code as </span><span style="color:rgb(68,68,68);font-family:'courier new';font-size:14px;background-color:rgb(246,244,240)">echo "data: The server time is: {$time}\n\n";</span><br>



<ul style="font-family:verdana,helvetica,arial,sans-serif;font-size:13px;line-height:16px;color:rgb(64,64,64)"><li>Flush the output data back to the web page</li></ul><a href="http://www.w3schools.com/html/html5_serversentevents.asp" target="_blank">http://www.w3schools.com/html/html5_serversentevents.asp</a><font color="#404040" face="verdana, helvetica, arial, sans-serif"><span style="line-height:16px"><br>



</span></font></div><div class="gmail_default">examples here are in php for server side. i am using hunchentoot on common lisp.</div><div class=""><div class="gmail_default"><br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Fri, Feb 28, 2014 at 10:27 PM, Faruk S. Can <span dir="ltr"><<a href="mailto:farukscan@gmail.com" target="_blank">farukscan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div><div dir="ltr"><div class="gmail_extra"><span style="font-family:tahoma,sans-serif"><div style="font-family:tahoma,sans-serif;font-size:small;display:inline" class="gmail_default">I</div>
  have another question about hunchentoot. Is it possible to use server sent events with hunchentoot, like other html5 improvements mentioned in w3schools-html5 such as app cache, local storage, session storage? as that one related to and depend on the server side support.</span><br>





<br></div></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>