dvv / base64url

URL safe base64-compatible codec
MIT License
33 stars 16 forks source link

Add encoding for MIME (Content-Transfer-Encoding) #1

Closed ferd closed 9 years ago

ferd commented 9 years ago

I enjoy this library, but have to deal with a system that expects URL-safe base64 and still expects padding there in a strict manner. This is apparently in line with base64 used for MIME and content-transfer-encoding usages, with the only major difference being on the padding rules being kept.

This adds a function to support exactly that.

dvv commented 9 years ago

Merged. Thanks!