1
0
Fork 0

shut up jslint

This commit is contained in:
Jan Steemann 2013-02-23 00:09:31 +01:00
parent 6577fa1d56
commit 3ef2ee9758
1 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*jslint indent: 2, nomen: true, maxlen: 100, sloppy: true, vars: true, white: true, plusplus: true, nonpropdel: true */
/*global require, ArangoConnection, SYS_ARANGO */
/*global require, ArangoConnection, print, SYS_ARANGO */
////////////////////////////////////////////////////////////////////////////////
/// @brief module "internal"
@ -195,13 +195,11 @@
appender("HTTP/1.1 " + headers['http/1.1'] + "\n");
for (key in headers) {
if (key === 'http/1.1' || key === 'server' || key === 'connection'
|| key === 'content-length') {
continue;
}
if (headers.hasOwnProperty(key)) {
appender(key + ": " + headers[key] + "\n");
if (key !== 'http/1.1' && key !== 'server' && key !== 'connection'
&& key !== 'content-length') {
appender(key + ": " + headers[key] + "\n");
}
}
}