Re: [CalendarServer-changes] [726] CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.method. put_common.patch
6 Dec
2006
6 Dec
'06
10:46 p.m.
Cyrus- Why only apply the content-type header if the resource is new? If you a PUT different data format down, it should updates the type, no? -wsv
7 Dec
7 Dec
1:02 a.m.
New subject: [CalendarServer-changes] [726] CalendarServer/trunk/lib-patches/Twisted/twisted.web2.dav.method. put_c ommon.patch
Hi Wilfredo, --On December 6, 2006 2:46:09 PM -0800 Wilfredo Sánchez Vega <wsanchez@wsanchez.net> wrote:
Why only apply the content-type header if the resource is new? If you a PUT different data format down, it should updates the type, no?
It writes getcontenttype on every PUT whether its a new resource or an overwrite (you can tell a PUT because the source resource is None - source is only set when doing a COPY or MOVE). The comment is wrong, the code is right. I will fix the comment. -- Cyrus Daboo
6911
Age (days ago)
6912
Last active (days ago)
1 comments
2 participants
participants (2)
-
Cyrus Daboo
-
Wilfredo Sánchez Vega