Browse files

added user-agent string

  • Loading branch information...
1 parent 693c50b commit 24cb5e3a03a79ec1f359d96d600955834041bcd4 @pdfcrowd committed Apr 29, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/pdfcrowd.js
View
3 lib/pdfcrowd.js
@@ -144,7 +144,8 @@ var convertInternal = function(that, src, endpoint, callbacks, options) {
method: 'POST',
path: endpoint,
headers: { 'content-length': postData.length,
- 'content-type': 'application/x-www-form-urlencoded' },
+ 'content-type': 'application/x-www-form-urlencoded',
+ 'user-agent': 'node-pdfcrowd client'},
};
var req = http.request(httpOptions, function(res) {

0 comments on commit 24cb5e3

Please sign in to comment.