Added b64_encoded boolean to determine whether the content needs to be decoded from base64.