p:http-request - multipart nesting

Hi all,

I think that MIME allows nesting of multipart entities
(http://tools.ietf.org/html/rfc2046), but our current schema:

<c:multipart
  content-type? = string
  boundary = string>
    c:header*,
    c:body+
</c:multipart>

does not support it. Shouldn't we change the schema to something like

<c:multipart
  content-type? = string
  boundary = string>
    c:header*,
    (c:body|c:multipart)+
</c:multipart>

And say that it is an error if two "multiparts" specify the same
boundary?

Regards,
Vojtech

Received on Wednesday, 4 June 2008 10:44:57 UTC