Re: [Standards] Multiple elements in a HTTP request with BOSH

2012-12-07 Thread Sergey Dobrov
Why do you need it? It's safe to include more than one stanza in the same . On 12/07/2012 06:01 AM, Jaussoin Timothée wrote: Hye everyone, All the question is in the title of my message. I've read that BOSH allow to add more than one stanza per element to save bandwidth during the session. Am

Re: [Standards] Multiple elements in a HTTP request with BOSH

2012-12-06 Thread markybox
Multiple body elements? Why not multiple stanzas in a single element? That method is valid. --Original Message-- From: Jaussoin Timothée Sender: standards-boun...@xmpp.org To: standards@xmpp.org ReplyTo: XMPP Standards Subject: [Standards] Multiple elements in a HTTP request with

Re: [Standards] Multiple elements in a HTTP request with BOSH

2012-12-06 Thread Artur Hefczyc
Well, you could treat it as multiple XML documents then. In fact, if you use HTTP keep-alive for Bosh communication you allow for multiple body elements. However, these would be separated with HTTP headers. In any case I am pretty sure Tigase would accept multiple body elements on a bosh connect

Re: [Standards] Multiple elements in a HTTP request with BOSH

2012-12-06 Thread Waqas Hussain
Nope, that would be a malformed XML document. What are you trying to do? On Fri, Dec 7, 2012 at 4:01 AM, Jaussoin Timothée wrote: > Hye everyone, > > All the question is in the title of my message. I've read that BOSH allow > to add more than one stanza per element to save bandwidth during > t

[Standards] Multiple elements in a HTTP request with BOSH

2012-12-06 Thread Jaussoin Timothée
Hye everyone, All the question is in the title of my message. I've read that BOSH allow to add more than one stanza per element to save bandwidth during the session. Am I authorized to put multiple elements in the same HTTP BOSH request ? Tim