#879: Incorrect handling when serveFile returns []
------------------------+---------------------------------------------------
Reporter: anonymous | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a6
Severity: normal | Keywords:
------------------------+---------------------------------------------------
When CP's serveFile detects that a file has not been modified, it returns
a [] instead of generator. This causes the assertion in
trunk/turbogears/controllers.py (_execute_func()) to fail, when instead TG
should return a 304 response to the browser.
Related ticket: #686
Reference:
http://groups.google.com/group/turbogears/browse_frm/thread/0f3ce472c8786ed6/25adf0a9708dbcfd#25adf0a9708dbcfd
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/879>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---