1.6.0 • Published 7 years ago

server-signature v1.6.0

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
7 years ago

server-signature

NPM version Linux Status Windows Status Dependency Status Coveralls

Controls whether Server response header field which is sent back to clients includes a description of the generic OS-type of the server. Similar to Apache2.

Installation

Install through NPM

npm install server-signature

or

git clone git://github.com/hex7c0/server-signature.git

API

inside expressjs project

var signature = require('server-signature');
var app = require('express')();

app.use(signature());

signature(options)

options

  • header- String Header filed (default "Server")
  • signature- String ProductOnly of standard string (default "Nodejs")
  • token- String Type of directive, related to http://httpd.apache.org/docs/2.2/mod/core.html#servertokens (default "Full")
  • custom- String Rewrite standard string with this (default "disabled")
  • extra - String Write Extra information after standard or custom string (default "disabled")
  • standalone - Boolean Return function that returns server-signature (default "false")

Examples

Take a look at my examples

Full string

Server: Nodejs/0.10.30 (Darwin)

License GPLv3

1.6.0

7 years ago

1.5.0

8 years ago

1.4.0

9 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.19

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

11 years ago

1.0.6

11 years ago

1.0.5

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.0.1

11 years ago