SAK-25503

Catch redirect in the buffered response and finish the request 
whenever there is a redirect.



git-svn-id: https://source.sakaiproject.org/svn/portal/trunk@132924 66ffb92e-73f9-0310-93c1-f5514f145a0a
NOJIRA 

Cleanup whitespace



git-svn-id: https://source.sakaiproject.org/svn/portal/trunk@132925 66ffb92e-73f9-0310-93c1-f5514f145a0a