<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Julian Fitzell escreveu:
<blockquote
 cite="mid:4a5dbd430809200739g4fceecbfxe3b8b349680d9a45@mail.gmail.com"
 type="cite">
  <pre wrap="">On Sat, Sep 20, 2008 at 3:25 PM, Philippe Marschall
<a class="moz-txt-link-rfc2396E" href="mailto:philippe.marschall@gmail.com">&lt;philippe.marschall@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">2008/9/19 agnaldo4j <a class="moz-txt-link-rfc2396E" href="mailto:agnaldo4j@gmail.com">&lt;agnaldo4j@gmail.com&gt;</a>:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Sorry, my english is very limited.

I use seaside with squeak 3.9.
I have a desktop application developed in java, this desktop application
send a gzip stream to server(seaside) and receive from the server a gzip
stream.
      </pre>
    </blockquote>
    <pre wrap="">This doesn't sound very Seaside specific. Seaside only works over
http(s), it's a web framework. It looks more like you need a generic
Squeak/Smalltalk server.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I'm not certain but is the question just about using GZIP content
compression for the HTTP stream?

Julian
_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>

  </pre>
</blockquote>
Correct Julian, is this. <br>
My request and response are in gzip mode, but in seside i don't
undarstand how todo this.<br>
A example in Ruby on Rails:<br>
class TesteController &lt; ApplicationController<br>
&nbsp; protect_from_forgery :except =&gt; [:teste]<br>
<br>
&nbsp; require 'zlib'<br>
&nbsp; <br>
&nbsp; def teste<br>
&nbsp;&nbsp;&nbsp; gz = Zlib::GzipReader.new(request.body)&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; puts gz.read<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; render :json =&gt; {:nome =&gt; "Agnaldo de Oliveira"}.to_json<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; StringIO.open('', 'w') do |strio|<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gw = Zlib::GzipWriter.new(strio)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gw.write(response.body)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; response.body = strio.string<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gw.close()<br>
&nbsp;&nbsp;&nbsp; end<br>
&nbsp; end<br>
end<br>
<br>
</body>
</html>