[AWS] AWS.Server.Push with Chunked HTML?

Joseph Montanez jmontanez at gorilla3d.com
Fri Aug 5 06:16:13 CEST 2011


I've updated the code with a working version. However I noticed the
Content-type is never returned. So If I start the response with "Pong"
and not "<html>", then its assumed as text/plain by the browser. Is
there a way I can set the content-type on the first packet set?

On Thu, Aug 4, 2011 at 7:36 PM, Joseph Montanez <jmontanez at gorilla3d.com> wrote:
> I used the demos/ws.adb example provided. When I changed the mime to
> Chunked, and left the plain/text as the content type, it continued to
> work. However when I change the content type to text/html, the request
> never returns anything and just keeps loading and loading. Would this
> be expected behaviour?
>
> https://gist.github.com/1126820
>
> --
> Joseph Montanez
> Web Developer
> Gorilla3D
> Design, Develop, Deploy
>



-- 
Joseph Montanez
Web Developer
Gorilla3D
Design, Develop, Deploy


More information about the AWS mailing list