|
|
@ -148,7 +148,9 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for ( var header in responseHeaders ) {
|
|
|
|
for ( var header in responseHeaders ) {
|
|
|
|
headersCache[uri][header] = responseHeaders[header];
|
|
|
|
if ( responseHeaders.hasOwnProperty(header) ) {
|
|
|
|
|
|
|
|
headersCache[uri][header] = responseHeaders[header];
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -209,6 +211,7 @@
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sendResponse(response);
|
|
|
|
sendResponse(response);
|
|
|
@ -313,7 +316,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
|
|
|
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
|
|
|
|
|
|
|
|
|
|
|
|
xhr.onreadystatechange = function(e) {
|
|
|
|
xhr.onreadystatechange = function() {
|
|
|
|
if ( xhr.readyState == 4 ) {
|
|
|
|
if ( xhr.readyState == 4 ) {
|
|
|
|
w.log('w.driver.post: status ' + xhr.status + ' (' + url + ')');
|
|
|
|
w.log('w.driver.post: status ' + xhr.status + ' (' + url + ')');
|
|
|
|
}
|
|
|
|
}
|
|
|
|