Skip to content

Simple web server that logs all request details.

Notifications You must be signed in to change notification settings

0mgfriday/vserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

vserv (verbose server)

Simple web server that logs all request details.

Example output

Usage

usage: vserv.py [-h] -p PORT [-t TIMEOUT] [-rl REDIRECTLOCATION] [-rs {301,302,303,307,308}] [-re REDIRECTENDPOINT]

Simple web server that logs request details

optional arguments:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  Port to listen on
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout for requests
  -rl REDIRECTLOCATION, --redirectlocation REDIRECTLOCATION
                        Redirect request to the specified URL
  -rs {301,302,303,307,308}, --redirectstatuscode {301,302,303,307,308}
                        Status code to use for redirects
  -re REDIRECTENDPOINT, --redirectendpoint REDIRECTENDPOINT
                        Endpoint to server redirects from. Default is all. Example: test/redir

About

Simple web server that logs all request details.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages