On 15/12/09 Jean-Yves Avenard said: > You should have a look at the pylons framework ; which let you do > stuff like that quite easily. > > Otherwise, you can't modify html headers directly, as least not as > easily as with PHP
If this is Django then I must disagree. Modifying the headers is trivial.
I would not rely on rrdtool to send http headers, capture the output of
rrdtool in a buffer in memory, and then customize your response object in
Django.
ie.
response = HttpResponse(mimetype="image/jpg")
response.write(buffer)
return response
Not really an rrdtool question though.
Mike
--
Michael P. Soulier <[email protected]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
pgpSeIMiRUTMJ.pgp
Description: PGP signature
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
