2006/3/13, Robert Sayre <[EMAIL PROTECTED]>:
>
> On 3/12/06, Joe Gregorio <[EMAIL PROTECTED]> wrote:
> >
> > I have added the APP Test Suite to the Feed Validator subversion
> > repository.
>
> A cursory examination of the unit tests reveals several errors. For
> example, "testMissingContentType" claims that an entry POSTed with no
> Content-Type MUST fail. The draft says nothing about that situation,
> so the test clearly contradicts the last paragraph of RFC2616, section
> 7.2.1.
I also think many people here will disagree with the docstring (see
below), saying you can POST only Atom Entries to entry collections:
def testMissingContentType(self):
"""POST an entry with no Content-Type header.
It MUST fail since entry collections
only accept Atom Entries.
"""
Namely, James M Snell told us how he's posting images (or any other
"media") to an entry collection and have the server automatically
generate an Atom Entry.
And I also think many people agree on POSTing
multipart/related;type="application/atom+xml" to entry collections as
well.
For the record, the -08 draft says nothing about what can be POSTed to
an entry collection.
--
Thomas Broyer