Re: Recent spec change to XMLHttpRequest default Content-Type

* 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 UTC