No way to initialize ResourceResponse::m_httpHeaderFields I propose the addition of a setHTTPHeaderField method.
Created attachment 11783 [details] patch This patch adds the proposed setHTTPHeaderField method. I understand that the mac port gets around this bug by reading fields out of the NSURLResponse, so one could argue that there should be some equivalent 'platform response handle' that is stored on the ResourceResponse, and then the platform ports should implement updateResourceResponse. However, that is overkill for some ports, and since everything else is settable on this class, I think it makes sense to define this method.
Comment on attachment 11783 [details] patch r=me
Committed revision 18133.