1
0
Fork 0

Cleaner error message.

This commit is contained in:
Alan Plum 2015-01-14 16:30:58 +01:00
parent e956cbc0c6
commit 12490a53e7
1 changed files with 2 additions and 2 deletions

View File

@ -140,11 +140,11 @@ function request(req) {
} else if (req.formData) {
// contentType = 'multipart/form-data';
// body = formData(req.formData);
throw new Error('multipart encoding is currently not supported');
throw new Error('Multipart form encoding is currently not supported.');
} else if (req.multipart) {
// contentType = 'multipart/related';
// body = multipart(req.multipart);
throw new Error('multipart encoding is currently not supported');
throw new Error('Multipart encoding is currently not supported.');
}
}