[Livehttpheaders] bug on mac? cut and paste double spaces.

Nikolas Coukouma atrus at atrus.org
Mon Mar 10 11:43:52 PDT 2008


This is due to HTTP's use of "\r\n" for newlines; *nix based systems
(including OS X) either display "\r" 'oddly' (e.g. ^M) or count both as
newline characters (as if it were "\n\n").

Cheers,
-Nikolas

Mark Harrison wrote:
> I'm on a mac, latest version of everything.
>
> When I cut and paste headers, the pasted header
> text is double spaced, i.e. a blank line appears
> between each header line, as shown below.
>
> I didn't see this on the bugs page so I thought
> I would ask here if there's anything I can do
> to fix this.
>
> Thanks!
> Mark
>
> ps, liveheaders is wonderful wonderful wonderful!
>
>
>
>
>
>
>
>
> https://www.mozdev.org/icons/mm-icon.png
>
>
>
> GET /icons/mm-icon.png HTTP/1.1
>
> Host: www.mozdev.org
>
> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
>
> Accept: image/png,*/*;q=0.5
>
> Accept-Language: en-us,en;q=0.5
>
> Accept-Encoding: gzip,deflate
>
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>
> Keep-Alive: 300
>
> Connection: keep-alive
>
>
>
> HTTP/1.x 200 OK
>
> Date: Mon, 10 Mar 2008 18:12:19 GMT
>
> Server: Apache
>
> Last-Modified: Tue, 10 Oct 2006 12:36:55 GMT
>
> Etag: "79074-119-452b93e7"
>
> Accept-Ranges: bytes
>
> Content-Length: 281
>
> Keep-Alive: timeout=15, max=396
>
> Connection: Keep-Alive
>
> Content-Type: image/png
>
> _______________________________________________
> Livehttpheaders mailing list
> Livehttpheaders at mozdev.org
> https://www.mozdev.org/mailman/listinfo/livehttpheaders
>
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.mozdev.org/pipermail/livehttpheaders/attachments/20080310/7512cd27/attachment.bin 


More information about the Livehttpheaders mailing list