I am playing to development of an lightweight (and very partial)
implementation of WebDAV protocol.
(By the way, about this, I wonder how would it make more sense to
develop it, so that I can give it to the RESTlet community)
In short, in the specifications WebDAV, to describe the content of
"collections", I need for each resource, to indicate its status:
http://www.webdav.org/specs/rfc2518.html#ELEMENT_status
Is there an issue (in your bugtracker) (targetting for RESTlet 1.2 ?)
covering the implementation of WebDAV and with advices on how to
implement it? If yes, I will be happy to work on it!
Can we try to be inspired with GoGoEGO's code ? Or is it better to start
a totaly new one ?
Jerome Louvel wrote:
Hi Jean-Yves,
Internally the NRE (Restlet engine) does convert the Status instance to the
standard format (see
com.noelios.restlet.http.HttpServerCall#writeResponseHead () method).
The Status#toString() method just provides a convenient/simple string value.
Do you have a specific use case that requires this value to conform to the
HTTP spec?
Best regards,
Jerome
-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] De la part de Jean-Yves Cronier
Envoyé : lundi 23 juin 2008 01:09
À : [email protected]
Objet : Standard status-line in Status
As defined in RFC2616 (6.1)
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
Is it better to change org.restlet.data.Status#toString() to comform to
[HTTP-Version SP Status-Code SP Reason-Phrase CRLF] ?
If no: What is the best way to build "Status-Line" of a
org.restlet.data.Status ?