Zope's current transaction behaviour is essentially:
## request starts
transaction.begin()
try:
object= REQUEST.traverse(...)
mapply(object,...)
transaction.commit()
except:
transaction.abort()
handle_error()
## request ends
This is flawed as error
Florent Guillaume wrote:
The File and Image objects use the Content-Type header on upload if it
is provided by the browser. Only if none is provided does it guess one.
See OFS.Image.File._get_content_type().
What brings me directly to the central question: Is this Content-Type
header
I am +1 on this. I suspect that before committing, though, we should
ask people who make use of Zope's transaction manager in advanced ways
like Phillip Eby.
- C
On Sun, 2003-02-02 at 10:40, Dieter Maurer wrote:
The new behaviour would look something like this:
## request starts