Comparing version 0.2.3 to 0.2.4
2.2.4 / 2011-05-27 | ||
================== | ||
* Added support for the `store` accessor | ||
* Fixed case with very long url by utilizing a urlencoded POST request [tszming] | ||
0.2.3 / 2011-03-28 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -92,7 +92,23 @@ /*! | ||
// Request | ||
var req = client.request('GET' | ||
var req; | ||
// Selenium RC can support POST request: http://svn.openqa.org/fisheye/changelog/selenium-rc/?cs=1898, | ||
// we need to switch to use POST if the URL's is too long (Below I use the Internet Explorer's limit). | ||
// See also: http://jira.openqa.org/browse/SRC-50 | ||
if (path.length > 2048 && (this.host + path ).length > 2083) { | ||
postData = this.commandPath(cmd, args).replace('/selenium-server/driver/?', ""); | ||
req = client.request('POST' | ||
, path | ||
, { Host: this.host + (this.port ? ':' + this.port : '') }); | ||
, { Host: this.host + (this.port ? ':' + this.port : '') | ||
, 'Content-Length': postData.length | ||
, 'Content-Type': 'application/x-www-form-urlencoded' | ||
}); | ||
req.write(postData); | ||
} else { | ||
req = client.request('GET' | ||
, path | ||
, { Host: this.host + (this.port ? ':' + this.port : '') }); | ||
} | ||
req.on('response', function(res){ | ||
@@ -439,2 +455,3 @@ res.body = ''; | ||
, 'assertNot' + cmd | ||
, 'store' + cmd | ||
, 'verify' + cmd | ||
@@ -441,0 +458,0 @@ , 'verifyNot' + cmd |
@@ -27,2 +27,2 @@ | ||
exports.version = '0.2.3'; | ||
exports.version = '0.2.4'; |
@@ -5,6 +5,10 @@ { | ||
"keywords": ["selenium", "saucelabs", "testing", "test", "tests"], | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "TJ Holowaychuk <tj@learnboost.com>", | ||
"main": "./lib/soda/index.js", | ||
"engines": { "node": ">= 0.2.0" } | ||
"engines": { "node": ">= 0.2.0" }, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/LearnBoost/soda.git" | ||
} | ||
} |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
69802
667
8