7 Dec
2006
7 Dec
'06
1:02 a.m.
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