OSDN Git Service

Don't strip HTTP response headers with empty values
authorSteve Block <steveblock@google.com>
Fri, 17 Dec 2010 14:14:31 +0000 (14:14 +0000)
committerSteve Block <steveblock@google.com>
Fri, 17 Dec 2010 14:15:50 +0000 (14:15 +0000)
commit131b7162d14fa221abb6ce77275244687c3f4bbb
treed1ad5b9fd85ea0b4ae953bf1c9c742b320caba47
parent74427af10b1794f0e99b7e7a451c4a40902c98f4
Don't strip HTTP response headers with empty values

This change affects the Android HTTP stack only. We now match the XHR
spec - http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader-method
- and provide header strings even if they are empty.

Bug: 3294032
Change-Id: Ic42e5e97e0a86ae2d08680ad689a2ab249d6ecc7
WebKit/android/jni/WebCoreResourceLoader.cpp