Commit graph

7 commits

Author SHA1 Message Date
Colin Kuskie
04c902a23e Add feature, redirect after logout. 2012-02-24 23:07:15 -08:00
Colin Kuskie
61e17054c5 Remove empty comments and fix POD. 2012-01-01 11:48:14 -08:00
Colin Kuskie
94761c46e4 Fix whitespace problems with POD in Session/Response 2011-07-27 22:21:21 -07:00
Scott Walters
7a994b59ce File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688)
New API method:  WebGUI::Response::sendFile;  it, as appropriate, calls
setRedirect or setStreamedFile, depending on enableStreamingUploads config var.
setStreamedFile now kicks off the XSendfile process.
File.pm now uses this instead of trying to set both a redirect and a stream.
IO::File::WithPath blows up if a file doesn't exist so this raises an exception
now.
The http now no longer insist that '0' is not a valid filename to stream.
site.psgi, depending on enableStreamingUploads, enables either the Static
or XSendfile middleware.
2011-05-12 20:22:43 -04:00
Scott Walters
57d2dbed56 WebGUI::Session::Http should go away (#11647)
Move logic out of WebGUI::Session::HTTP and into WebGUI::Session::Response /
::Request; deprecate more functions; change references in core to use
$session->response instead; fix tests that broke because of the change but
not one that merely generate the deprecated warning because I want to know
that the proxying of depricated methods is working.  These can be changed later.
2011-05-11 16:17:54 -04:00
Colin Kuskie
0b5d4e4614 Write a bunch of POD for modules that don't have it. 2010-08-26 14:39:13 -07:00
Patrick Donelan
b7e7d5b936 Refactored Request/Response into WebGUI::Session:: 2010-04-08 21:30:55 -04:00
Renamed from lib/WebGUI/Response.pm (Browse further)