Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmwiedemann/perl-net-httpserver
Import of perl Net::HTTPServer module
https://github.com/bmwiedemann/perl-net-httpserver
Last synced: 17 days ago
JSON representation
Import of perl Net::HTTPServer module
- Host: GitHub
- URL: https://github.com/bmwiedemann/perl-net-httpserver
- Owner: bmwiedemann
- License: other
- Created: 2023-03-04T04:20:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T05:05:11.000Z (almost 2 years ago)
- Last Synced: 2024-11-20T09:26:20.252Z (about 1 month ago)
- Language: Perl
- Homepage: https://metacpan.org/dist/Net-HTTPServer
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: CHANGES
- License: LICENSE.LGPL
Awesome Lists containing this project
README
Net::HTTPServer
This is a light weight HTTP server that serves files as well as attaching
function calls to URL requests. This allows you to do a lot of things:- embed the web server into your program and serve up
anything your program can do- make a file available for download that you created
- just take you CGI program and turn it into a stand
alone HTTP server that you can run on any machine.- lots lots more
Ryan Eatmon
[email protected]2023-03-04 Adopted by Berhard M. Wiedemann
REQUIREMENTS
- URI - Handles all of the URL magicOPTIONAL
- IO::Socket::SSL - Allows for a secure web server
- MIME::Base64 - Allows for Basic Authentication
- Digest::MD5 - Allows for Digest AutenticationINSTALLATION
perl Makefile.PL
make
make installSTATUS
This update contains a new OOP style interface for requests and replies.
I also added support for PHP style server side sessions.The result of moving to the OOP interface is that the calling and return
structure for handlers has changed. For those that want to upgrade to this
version of the module but do not want to have to rewrite your handlers
immediately there is a config option for the server. 'oldrequests'=>1 will
put the entire server back into the pre-1.0 style of handlers. Giving you
a chance to install the module and play with it before undertaking the
conversion.Aplogies for the change.
DATE
2004/07/03