[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Binary XML

  • From: Michael Brennan <Michael_Brennan@a...>
  • To: 'Stuart Naylor' <indtec@e...>,Michael Brennan <Michael_Brennan@A...>
  • Date: Thu, 26 Jul 2001 14:20:34 -0700

content type binary
I'm not aware of any limitation sending binary content through port 80. I've
done it plenty of times without problems. I would imagine, though, that an
HTTP request (or response) that fails to properly identify it's media type
might be mangled by an intermediary. Perhaps someone with deeper protocol
understanding than myself might wish to comment, though.

HTTP is MIME-like in that it supports a number of standard MIME headers (and
a few of its own). No special MIME wrapper is needed. Just specify the
appropriate Content-Type header. Intermediaries are free to interpret and
alter text content (e.g. Content-Type: text/xml), but are in violation of
the spec if they interpret or alter non-text content (e.g. Content-Type:
application/zip). Also, you can employ binary compression so long as you
properly identify the protocol used via the Content-Encoding header. (It's
also legal to use Content-Transfer-Encoding for this, but I think
Content-Encoding has broader support in applications, at present. Both IE
and Netscape, for instance, will properly recognize gzip-compressed data if
the HTTP message includes "Content-Encoding: gzip".)

You can also use MIME multipart formats to transmit multiple documents over
HTTP in one message. This is another area, though, where you run the risk of
being incompatible with other tools. However, in the XML messaging world,
the SOAP w/ Attachments spec and ebXML have given some momentum to use of
multipart/related wrappers over HTTP, so the level of support for this is
rapidly increasing.

> -----Original Message-----
> From: Stuart Naylor [mailto:indtec@e...]
> Sent: Thursday, July 26, 2001 2:10 PM
> To: 'Michael Brennan'
> Cc: xml-dev@l...
> Subject: RE: Binary XML
> 
> 
> I thought the only way you could get binary through port 80 
> is in a mime
> wrapper. This gives it a layer of encapsulation in a effort 
> to render it
> safe.
> 
> Port 80 is text only even if you can hide binary in wrapper 
> it still is
> a text tranfer but how would this work with binary xml.
> Would this also be included in a wrapper so we have a unicode protocol
> represented as binary then wrapped in a mime type to be unwrapped so
> that processing can occur ?

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.