[Zope3-checkins] Re: SVN: Zope3/trunk/src/zope/app/http/ Conform to RFC2616 for PUT requests by returning a Location-header.

Christian Theune ct at gocept.com
Thu Sep 28 04:43:44 EDT 2006



Philipp von Weitershausen wrote:
> Wolfgang Schnerring wrote:
>> Log message for revision 70412:
>>   Conform to RFC2616 for PUT requests by returning a Location-header.
>>     This is a merge from branches/ctheune-issue-125, rev. 70404-70411.
>>  
>> Changed:
>>   A   Zope3/trunk/src/zope/app/http/ftests/
>>   U   Zope3/trunk/src/zope/app/http/put.py
>>   U   Zope3/trunk/src/zope/app/http/tests/test_put.py
>>
>> -=-
> ...
>>  
>>          # Get a "directory" surrogate for the container
>> -        dir = IWriteDirectory(container, None)
>> +        # XXX Argh. Why don't we have a unioned Interface for that?!?
>> +        dir_write = IWriteDirectory(container)
>> +        dir_read = IReadDirectory(container)
> 
> What's the purpose of this XXX comment? Usually we only mark things with
> XXX that need immediate fixing. XXX comments are show stoppers for
> releases. If you just want to note a general task, use a TODO comment. I
> think in this case the XXX can simply be removed.

My fault. Of course that can be a TODO ...

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://mail.zope.org/pipermail/zope3-checkins/attachments/20060928/db0620d2/signature.bin


More information about the Zope3-Checkins mailing list