Comparing version 2.3.3 to 2.3.4
# restify Changelog | ||
## 2.3.4 (not yet released) | ||
## 2.3.5 (not yet released) | ||
## 2.3.4 | ||
- GH-343 default to 'identity' for accept-encoding | ||
- GH-342 client support for PATCH | ||
- Pick up spdy@1.4.6 (doesn't ship all the example garbage) | ||
## 2.3.3 | ||
@@ -6,0 +12,0 @@ |
@@ -300,2 +300,10 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
HttpClient.prototype.patch = function patch(options, callback) { | ||
var opts = this._options('PATCH', options); | ||
return (this.request(opts, callback)); | ||
}; | ||
HttpClient.prototype.read = function read(options, callback) { | ||
@@ -302,0 +310,0 @@ var r = this.request(options, function readRequestCallback(err, req) { |
@@ -57,2 +57,13 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
StringClient.prototype.patch = function patch(options, body, callback) { | ||
var opts = this._options('PATCH', options); | ||
if (typeof (body) === 'function') { | ||
callback = body; | ||
body = null; | ||
} | ||
return (this.write(opts, body, callback)); | ||
}; | ||
StringClient.prototype.read = function read(options, callback) { | ||
@@ -59,0 +70,0 @@ var self = this; |
@@ -33,3 +33,4 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
accept: h.accept || '*/*', | ||
'accept-encoding': h['accept-encoding'] || '*' | ||
'accept-encoding': h['accept-encoding'] || | ||
'identity' | ||
} | ||
@@ -36,0 +37,0 @@ }); |
@@ -28,3 +28,3 @@ { | ||
"description": "REST framework", | ||
"version": "2.3.3", | ||
"version": "2.3.4", | ||
"repository": { | ||
@@ -59,3 +59,3 @@ "type": "git", | ||
"semver": "1.1.2", | ||
"spdy": "1.4.3", | ||
"spdy": "1.4.6", | ||
"verror": "1.3.5" | ||
@@ -62,0 +62,0 @@ }, |
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
178469
4007
+ Addedspdy@1.4.6(transitive)
- Removedspdy@1.4.3(transitive)
Updatedspdy@1.4.6