I forgot this was Java.
This commit is contained in:
@@ -202,7 +202,7 @@ public class PollingXHR extends Polling {
|
||||
|
||||
Map<String, String> headers = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER);
|
||||
|
||||
xhrHeaderFields = xhr.getHeaderFields();
|
||||
Map<String, List<String>> xhrHeaderFields = xhr.getHeaderFields();
|
||||
if(xhrHeaderFields != null) {
|
||||
for (String key : xhrHeaderFields.keySet()) {
|
||||
if (key == null) continue;
|
||||
|
||||
Reference in New Issue
Block a user