Properly Send-Response With Base64-Content

Posted at




this is a part of multipart email, XHR, and natural server responses are supported as well.

------=_Part_**************************************
Content-Type: image/png; name=signoff-logo.png
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename=signoff-logo.png
Content-ID: <00000000000000000000000000000000>

iVBORw0KGgoAAAANSUhEUgAAAKYAAAAkCAQAAACp+YkvAAAFBElEQVR4Ae2a
W2wUVRjHh7YUSouAgGiLVKNgQTYgeMHIxeoqIRXTSrYYflFIaYgVoj6YhvTB
mHihoii1WJFCUJKNFwSRNCQiSAzR6oOGKok20tiKl5Rq0xvQUnFsJieT2W9m
Oss60FkDv7fv/33s5Ld7cuYc0P4/fxhBmMgAIbQL5FZjLh/tv6FhJY2wSRZa
0pDNI7xHJ7rBhrjnslhCFc1q7qi/Mmejm4SSQOIMnmInP6Ir4pV5Fat5laOc
s875LXNVksncIjTGK7PAPuW/zNokk1kTXJkZtCWZzNrgyixHTzKZ0aDKnEpP
0sl8jaYB+i9YZr4x13GxZE7mJ3QpM0moiFOmZM7FkVnIKfQhkplCHgVEKGAm
aY7vgvMoIsI9TJGZosxFZg5hlhNhERMd56a4ykxlnMTybHk8SCnLuN4uM596
dA/KjOb1ohq176pySrHBlm016rls4jdLtZ1t5KKZLGYPvZb8BM8yNg6ZGTxB
Q0ztGI+RHrfMELqNtcYXW87PltoRZsTKlCIujczdpLCeMw5TnaxSp5r96A60
EvaQuZ9Gx8nvmZ64TD5nAb/aqh3kDb3Mz9iF7spasqUQC30skTLjpI2ZCcs8
Lzc6Rd3Qy/wbfRD65XYo6CZXyIyXRjISkulOH+lDINNXNguZ8fOMfzIVE0yZ
FFJpcEK07KDSZJ6HzCnM5U4+cZWZw3zCbEV3pN3jm+92qP7gIbOXQ2xnH10O
n5bhKTODuQNUotv4gmpRaXF6aa/zfDWyyfTIy0S+AF3QwFJjkWTxpOPCjzLL
mLyOqEj6B5V5kGyVTeCALX3IS6Zivm3yfVIYw18xtdKhkSkf7ltGW9IqdMEW
S5pKg0gzX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