Comparing version 0.2.0 to 0.2.1
@@ -207,2 +207,5 @@ // Load modules | ||
options = (typeof options === 'string' ? { method: 'GET', url: options } : options); | ||
options.method = options.method || 'GET'; | ||
var req = new internals.Request(options); | ||
@@ -209,0 +212,0 @@ var res = new internals.Response(req, callback); |
{ | ||
"name": "shot", | ||
"description": "Injects a fake HTTP request/response into a node HTTP server", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)", | ||
@@ -6,0 +6,0 @@ "contributors":[ |
@@ -0,0 +0,0 @@ // Load modules |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
338
55359