Log in

View Full Version : Why is attachment_display after content length header?


XTF
02-14-2006, 01:38 PM
Hi,

I'd like this hook to modify the attachment before it's send to the client, but I can't because the content length header is already send and the length will change.
Why is this hook after and not before the content length and other headers are send?

Princeton
02-14-2006, 03:08 PM
That doesn't sound right...
you want to modify the attachment each time it's delivered to the end-user?

Why would you want to do that?

Modifying attachment should be done when "uploading" attachment occurs OR via a cron job.

XTF
02-14-2006, 04:14 PM
That doesn't sound right...
you want to modify the attachment each time it's delivered to the end-user?

Why would you want to do that?

Modifying attachment should be done when "uploading" attachment occurs OR via a cron job.
Yes, I do. I want to insert a per-user ID in the data.