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gBxIBBBDjkFCKIIIQYQkAxhhBwyEmrvTjrLYGAQw4Bh5y02ov/s968TxhAGEPAISet9uKsN+8V
BiEEHHLSai/OGSI5abVXwiEnrfbirHeFSE5a7ZVwyEmrvTjrXSGSk1Z7JRxy0movznpXhCA6ByGE
jkEIIQOPlOYYhBAyBw45abUXZ70rQhABgBBC4CCEEARyGmkQMsDAISet9uKsd0UIAnkQQuAghJCE
SE5AJAAIDjlptRdnvStCEEiCEAIHIYQkRHIicACQcMhJq704610RguAAgBACByGEAATnnIMQAgAY
hOCQk1Z7cda7IgABQuAgBA5CCEEgJ0IISYQQHHLSai/OelcEIEAIHITAQQghAAFEciIAwIRDTlrt
xVnviiCQEyFw6hBCSEIkJwIEAAmHnLTai7PeFQB4EALAIHAQQghAAJGcABgDDIJDTlrtxVnvCgBE
EoGDwJkIgDkhOAgBgOCQk1Z7cda7AgKRRAAgCKQ8cx5AEEJIwiEnrfbirHeFSE5a7ZVwyEmrvTjr
XSGSk1Z7JRxy0movznpXiOSk1V4Jh5y02ouz3hUiKeGQk1Z7cdab9wqRlHDISau9OOvNe4VISjjk
pNVenPXmvUKEwEFwyEmrvTjrzXuFCIGD4JCTVntx1pv3ChECB8EhJ6324qw37xUiBA6CQ05a7cVZ
b94rRAgcBIectNqLs940AgA7
EOF

OK, OK, I'll go and do the bloody attachments patch :) --

Não pá, isto é um dump do Response HTTP. Tem os headers e o body em multipart, com imagens pelo meio. tem de ser escrito mesmo assim :) -- BrunoDavid

E ainda falam do Rodrigo... --BrunoRodrigues

Qual é o problema ? Eu preciso de um sítio para colocar coisas enquanto não acabamos o LiveWiki. Este tipo de dump é muito importante para se poder comparar com o que vem do nosso MMC ou em breve do Kannel. Tendo em conta que é binario, Base64 foi o mais simples que pude inventar. Poder-te-ás queixar quando eu começar a explicar o que é cada um destes bits :P -- BrunoDavid