Comparing version 0.16.0 to 0.16.1
@@ -453,4 +453,8 @@ /** | ||
if (request.getHeader('user-agent') === undefined) { | ||
var userAgent = request.getHeader('user-agent'); | ||
if (userAgent === undefined) { | ||
request.setHeader('user-agent', 'papi/' + meta.version); | ||
} else if (userAgent === null) { | ||
request.removeHeader('user-agent'); | ||
} | ||
@@ -457,0 +461,0 @@ |
{ | ||
"name": "papi", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "Build HTTP API clients", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
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
28416
746