[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PUT response
hello.
Daniel Jalkut wrote:
My current reading of the RFC indicates that PUT does not return an
entity. Just a status code.
Does anybody have an opinion as to whether it leaves room for an entity
to be returned? I can't tell.
i think it is the same thing as with the question whether GET may have
an entity and POST is allowed to have no entity: people have opinions
about that and these opinions have been implemented, but they are not
consistent because the spec is not very clear about these issues.
http://www.ietf.org/internet-drafts/draft-ietf-httpbis-p2-semantics-02.txt
is the ongoing project to come up with a new revision of HTTP/1.1, which
should address issues like this. i have to admit that so far i have only
briefly skimmed the draft, but it seems to me that there still is no
clear statement about these questions. my personal interpretation is
that if something is not explicitly disallowed, it is allowed, but not
everybody shares this opinion, so some clarification would be a good
thing to avoid implementation inconsistencies.
cheers,
erik wilde tel:+1-510-6432253 - fax:+1-510-6425814
dret@xxxxxxxxxxxx - http://dret.net/netdret
UC Berkeley - School of Information (ISchool)