Gzip a String without an Enterprise License?

I am attempting to gzip the body of a large POST request, and have not yet found a way to gzip strings in Corona without upgrading to an Enterprise license, which seems a bit off.
 

* No libraries mention compression support (gzip/zlib) in the documentation.

* C libraries like lua-zlib and lzlib can only be linked to an app with Enterprise support.

* Libraries like LibCompress require BitOp, which is only available for Enterprise customers.

What solutions do you recommend for compressing a large base64-encoded string?

If straight ZIP was acceptable to you, you could use the ZIP plugin if you were a Pro member as well.

I am not aware of any other straight compression code that works in Corona.

@thegdog, thank you for the suggestion! The server supports gzip compression for POST payloads out of the box, so I’m trying to stick with gzip/zlib compression instead of writing my own middleware to support zip, though I hadn’t really considered this previously. Thanks for expanding my horizons!

Ahh, I wasn’t sure exactly what you were compressing or why, so I was just thinking in the general compression space.

Normal ZIP might not work for you. 

If straight ZIP was acceptable to you, you could use the ZIP plugin if you were a Pro member as well.

I am not aware of any other straight compression code that works in Corona.

@thegdog, thank you for the suggestion! The server supports gzip compression for POST payloads out of the box, so I’m trying to stick with gzip/zlib compression instead of writing my own middleware to support zip, though I hadn’t really considered this previously. Thanks for expanding my horizons!

Ahh, I wasn’t sure exactly what you were compressing or why, so I was just thinking in the general compression space.

Normal ZIP might not work for you.