- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Wed, 02 Aug 2006 09:07:56 +0200
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- CC: public-webapi@w3.org
Bjoern Hoehrmann schrieb: > * Julian Reschke wrote: >> In particular, HTTP allows headers to be present with no value, and that >> means something different than the absence of that header. Please do not >> profile HTTP (where it's not needed). > > You can tell the difference using getAllResponseHeaders(), there is no > "profiling" going on. Looking at the definition for all getResponseHeaders(), it seems only be useful for debugging purposes. Do you seriously suggest that somebody who wants to know whether an empty response header was present in the response takes that concatenated string and parses it (don't forget the rules about leading WS and continuation lines in <http://tools.ietf.org/html/rfc2616#section-4.2>). Best regards, Julian
Received on Wednesday, 2 August 2006 07:09:24 UTC