On 09/29/2015 06:51 PM, Amir Rohan wrote:
> Magnus,
>
> Please, see attached patch adding a "whole thread[as mbox] link"
> to pgarchives, by popular request upthread.
>
> It checks hiddenstatus, but does materialize the entire raw thread
> in memory (including attachments) to form the response, which
> is unbounded in principle and can be sizable in practice.
>
> Perhaps django can do streaming requests, so we can bound
> the memory usage + timeout. It's been a while.
>
> If you'd like changes (hard limits, strip attachments, etc'),
> do let me know.
>
Too quickly sent. Cleaned debugging noise and avoided unicode issues by
keeping things as bytes.
Amir