mirror of
https://github.com/encounter/phantomjs.git
synced 2026-03-30 11:35:11 -07:00
5528c046db
Trying to match http://nodejs.org/docs/latest/api/http.html. For the server response: * Change writeBody to write * Change writeHeaders to writeHead For the request object, 'headers' is now an object containing all key-value pairs of the actual HTTP headers. 'queryString' is folded into 'url' key. Non-standard keys in the request: isSSL, remotePort, remoteIP, remoteUser, are disabled in the mean-time (will be revisited after 1.4 release). Implementation-wise, the request object is now a simple key-value pair using QVariant, as opposed to the heavy QObject instance. http://code.google.com/p/phantomjs/issues/detail?id=115