Hi Wilfredo,

--On December 6, 2006 2:46:09 PM -0800 Wilfredo Sánchez Vega <[EMAIL PROTECTED]> 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

_______________________________________________
calendarserver-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/calendarserver-dev

Reply via email to