Jerome:
That seems like a great solution. I took a look at Response.java and I
really like that you also added a setLocationRef() method, but kept
setRedirectRef() and getRedirectRef(), both for backwards
compatibility and because sometimes those methods really do make
sense. Very nice!
Thanks,
I hope this sounds good to everyone, let me know
otherwise.
Best regards,
Jerome
> -Message d'origine-
> De : Avi Flax [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 29 juin 2007 17:49
> À : discuss@restlet.tigris.org
> Objet : Re: form submission fails to r
Thierry,
Actually, I think setRedirectRef() (which in HTTP is expressed as a
"Location" response header) *is* appropriate when the Response Status
is SUCCESS_CREATED (HTTP: "201 Created"). It is used to indicate to
the client the URI of the newly created Resource.
That's the current state, and i
Hello Michael,
after reading the spec, SUCCESS_CREATED shows that the operation succeeds
and allows you also to provide a representation with some information about
the new resource, including "a list of resource characteristics and
location(s) from which the user or user agent can choose the one
Hello,
I'm new to using restlets and have been experimenting with simple test
pages to make sure i understand how to use it (and so that i can write
some examples to help my coworkers learn it).
I wrote a simple form submission test that works, except that the
redirection after returning
5 matches
Mail list logo