Atmosphere/atmosphere — comment on commit bd341a27d2bd3d6d81144403b1edfb6a7ef04a06
File: modules/jquery/src/main/webapp/jquery/jquery.atmosphere.js line 41
By flowersinthesand:

1. `token.trim()` will not work in IE 6, 7, and 8.
2. What if each token has multiple `:`? for example `Date: Fri, 03 Feb 2012 07:08:54 GMT`

This snippet would solve those problems and a regular expression is borrowed from jQuey.ajax.

```js
var match, rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, headers = {};
while(match = rheaders.exec(headerString)) {
headers[match[1]] = match[2];
}
```