Opened 13 years ago

Closed 13 years ago

#49 closed defect (fixed)

Adding <configure/> to a PubSubRequest

Reported by: ff Owned by: ralphm
Priority: normal Milestone:
Component: generic Keywords:


With the present implementation of PubSubRequest? there is no (easy?) way to add more than one verb, and therefore it's impossible to add a default <configure/> or an <oauth/> signature to the requests.

Change History (2)

comment:1 Changed 13 years ago by ff

Perhaps something like this will do the work (the server side code is missing)

class PubSubRequest(PubSubRequest):

    _parameters = PubSubRequest._parameters
    _parameters["create"] = ['nodeOrNone', "configureOrNone"]
    configureForm = None

    def _render_configureOrNone(self, verbElement):
        configure = verbElement.parent.addElement("configure")

        if self.configureForm: 

comment:2 Changed 13 years ago by ralphm

  • Resolution set to fixed
  • Status changed from new to closed

Support for configuration upon node creation was added in [f965c6c5da15]. Closing.

Note: See TracTickets for help on using tickets.