[Pkg-javascript-commits] [node-mocks-http] 279/296: Merge pull request #74 from mtimofiiv/master
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 555296ef4195ccaa45feff80f737886063fee811
Merge: 53c731a 978dbed
Author: Howard Abrams <howardabrams at users.noreply.github.com>
Date: Tue Oct 27 21:44:32 2015 -0700
Merge pull request #74 from mtimofiiv/master
accept non-standard properties into the request object
lib/mockRequest.js | 11 +++++++++++
test/lib/mockRequest.spec.js | 9 +++++++++
2 files changed, 20 insertions(+)
diff --cc lib/mockRequest.js
index 85954f2,a1e6591..4510c17
--- a/lib/mockRequest.js
+++ b/lib/mockRequest.js
@@@ -30,8 -30,11 +30,12 @@@
*/
var url = require('url');
+var typeis = require('type-is');
+ var standardRequestOptions = [
+ 'method', 'url', 'originalUrl', 'path', 'params', 'session', 'cookies', 'headers', 'body', 'query', 'files'
+ ];
+
function convertKeysToLowerCase(map) {
var newMap = {};
for(var key in map) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list