I got this working for just a yaws appmod without erlyweb. I return
to yaws:
{ok, ZippedData} = yaws_zlib:gzip(list_to_binary(Whatever))
[{html, Zipped},
{header, {"Content-Encoding", "gzip"}} ].
but I'm having trouble doing this for an erlyweb app.
I was going to use the {response, Elems} feature to send back the
Content-Encoding header, but how I use yaws_zlib:gzip to zip up the
final rendered html?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---