[Rt-commit] r17456 - in rt/3.8/trunk: .

falcone at bestpractical.com falcone at bestpractical.com
Tue Dec 30 16:40:02 EST 2008


Author: falcone
Date: Tue Dec 30 16:40:01 2008
New Revision: 17456

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/lib/RT/Interface/Web.pm

Log:
 r43002 at ketch:  falcone | 2008-12-30 15:50:47 -0500
 * document SendStaticFile


Modified: rt/3.8/trunk/lib/RT/Interface/Web.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Interface/Web.pm	(original)
+++ rt/3.8/trunk/lib/RT/Interface/Web.pm	Tue Dec 30 16:40:01 2008
@@ -239,6 +239,14 @@
 
 =head2 SendStaticFile 
 
+Takes a File => path and a Type => Content-type
+
+If Type isn't provided and File is an image, it will
+figure out a sane Content-type, otherwise it will
+send application/octet-stream
+
+Will set caching headers using StaticFileHeaders
+
 =cut
 
 sub SendStaticFile {


More information about the Rt-commit mailing list