Philippe,<br><br>Is a Seaside method in VW implementation.<br><br><br><br><div class="gmail_quote">2009/9/5 Philippe Marschall <span dir="ltr"><<a href="mailto:philippe.marschall@gmail.com">philippe.marschall@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/9/4 Andrés Garagiola <<a href="mailto:andresgaragiola@gmail.com">andresgaragiola@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi list,<br>
><br>
> I found a bug, i don´t know if it´s fixed is other versions, using a Flex<br>
> client (GlareUI) with seaside 7.6.<br>
> The browser IE not understand the HttpResponse reply. Monitoring the http<br>
> traffic i found '200' in the http response package and the client wait for<br>
> 200 without simple quotations.<br>
> Change #printString by #asString on #asHttpResponse method (Class<br>
> WAResponse) the problem was resolved.<br>
><br>
> asHttpResponse: anHttpResponse<br>
><br>
> | source |<br>
> anHttpResponse statusLine: (Net.HttpResponseStatusLine code: self status<br>
> printString).<br>
><br>
> self headers associationsDo: [ :eachHeader |<br>
> anHttpResponse addField: (Net.HeaderField<br>
> readFrom: (self fieldSourceFor:<br>
> eachHeader)<br>
> acceptNonAsciiCharacters: true) ].<br>
><br>
> self cookies do: [ :eachCookie || cookieValue |<br>
> cookieValue := Net.SetCookieValue netscapeStyleName: eachCookie key<br>
> value: (eachCookie value ifNil: [ '' ]).<br>
> eachCookie expiry ifNotNil: [ cookieValue expires: eachCookie expiry<br>
> asLocal ].<br>
> eachCookie path ifNotNil: [ :path | cookieValue path: path ].<br>
> anHttpResponse addField: (Net.SetCookieField add: (OrderedCollection<br>
> with: cookieValue))].<br>
><br>
> anHttpResponse addField: (Net.HeaderField readFrom: ('content-type: ',<br>
> contentType) readStream).<br>
> source := self contents.<br>
> source isByteStream<br>
> ifTrue: [ anHttpResponse body byteSource: source ]<br>
> ifFalse: [ anHttpResponse body source: source ].<br>
> ^anHttpResponse<br>
<br>
</div></div>That's OpenTalk / VW related, right?<br>
<br>
Cheers<br>
Philippe<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br>