W3C home > Mailing lists > Public > public-webapi@w3.org > June 2007

Re: Recent spec change to XMLHttpRequest default Content-Type

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 15 Jun 2007 09:49:15 +0200
To: Carsten Orthbandt <carsten@pixeltamer.net>
Cc: public-webapi@w3.org
Message-ID: <1mg473lkedvqqcbqnq83p895sum9dddr9n@hive.bjoern.hoehrmann.de>

* Carsten Orthbandt wrote:
>Bjoern Hoehrmann schrieb:
>> Why don't you use less &, <, and ]]> sequences in the content and wrap
>> it into <x>...</x>?
>
>If my response body is (literal example)
>
>---snip---
>ut:7325
>ubc:0
>---snap---
>
>there's obviously some hesitation to wrap that as
>
>---snip---
><?xml version="1.0"?>
><x>
>ut:7325
>ubc:0
></x>
>---snap---

It would be sufficient to use <x>ut:7325,ubc:0</x>. The massive amount
of overhead generated by the connection setup and request and response
headers hardly compare to those 7 bytes.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 15 June 2007 07:49:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT