W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1996

PostableResource - how to use it?

From: Alexandre Rafalovitch <alex@access.com.au>
Date: Tue, 18 Jun 1996 17:06:51 +1000
Message-Id: <v02140b09adec02dd410b@[]>
To: www-jigsaw@w3.org

I created a PostableResource in my test directory and tryed to point my
browser on it. it promptly came back with message "The document 'bla' is
indexed but not available. The server is misconfigured".
I know if I put some values after question mark, than it works as
described( enumerate them). Also, if I change convert-get flag to false, it
gives error even with question marks in. So I assume it is a default
message of the server. Question: is that reasonable message or something
else should be said.

Another question is, if I want to subclass a PostableResource and reply on
both Get and Post methods, what do I do. I can use handle() to reply to
post event, but for Get event I am stuck. Of course, I can override 'public
Reply get', but then I either have to copy most of the code from Postable
Resouce into my class version of the method, or loose some of the
functionality PostableResource provides, such as covert-get.

What is the reasonable way to do that? Or am I wrong in trying to create a
resource that shows different behaviour on get and post events?

Thank you,

--------| I feel as confused as a baby in a topless bar. |--------
Received on Tuesday, 18 June 1996 03:37:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:20 UTC