kn_from and kn_to
Robert Leftwich <[email protected]> Sun, 21 Mar 2004 16:45:27 +1100
| Newsgroups | gmane.comp.web.mod-pubsub.devel |
|---|---|
| Message-ID | <[email protected]> |
A question or 2 on kn_from and kn_to - The pubsub protocol document says that "/what/chat, /what/ÃãÃÃ, /what/ºyüµ and http://foo/mod_pubsub/cgi-bin/pubsub.cgi/what/chat. are all valid kn_to values, but the implementations all prepend the mps server url to the value before setting it if the value does not have a scheme part. So, should the client implementation ensure that the kn_from and kn_to values are always absolute URL's, converting relative URI's to an absolute URL on the connected mps server ? Should I update the doco to say that? If I specify a url of any valid server process in kn_to (e.g. http://example.com/cgi-bin/processEvent.cgi) when issuing a route command, will the mps server then send all the events directly to that url for processing w/o requiring a mps client ? What is the use case for being able to post a single event to an arbitrary url, i.e. setting the kn_to of a notify command to point to a non-mps server? Robert --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.634 / Virus Database: 406 - Release Date: 18/03/2004