view tools/base64 @ 3867:2563ddf71cd7

Enabled over-riding of content-type in web interface (thanks John Mitchell)
author Richard Jones <richard@users.sourceforge.net>
date Mon, 27 Aug 2007 10:27:31 +0000
parents 740102dfad1d
children c75defc1c2f0
line wrap: on
line source

#!/usr/bin/env python
import zlib, base64, sys
print base64.encodestring(zlib.compress(sys.stdin.read()))

Roundup Issue Tracker: http://roundup-tracker.org/