Opened 9 years ago

Closed 3 years ago

#11865 closed defect (patchwelcome)

dojox.socket.LongPoll does not work with xhrGet and preventCache=true

Reported by: liucougar Owned by: Kris Zyp
Priority: high Milestone: 1.13
Component: Dojox Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

preventCache=true with xhrGet as transport in dojox.socket.LongPoll? does not work, because in dojox.socket.LongPoll?.send(), postData is always set

Change History (3)

comment:1 Changed 9 years ago by Kris Zyp

Is it sufficient to be able to do something like:

dojox.socket({

url: "...", transport: function(args){

args.content = args.rawBody; return dojo.xhrGet(args);

}

});

comment:2 Changed 9 years ago by liucougar

I think that will work if postData is not set on the args by LongPoll?

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 4+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.