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@[203.18.229.116]>
To: www-jigsaw@w3.org
Hi,

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,
         Alex.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:24 GMT