Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Perl 6 implementation of the Perl 5 HTTP::Server::Simple::PSGI
branch: master

Merge pull request #4 from samvtran/patch-1

Fixes method implementation issue from latest Rakudo release.
latest commit a24ba793a4
Tadeusz Sośnierz tadzik authored
Failed to load latest commit information.
examples Make it work on nom
lib/HTTP/Server Fixes method implementation issue from latest Rakudo release.
README add HTTP::Server::Simple::PSGI with two examples


README for the Rakudo Perl 6 version of HTTP::Server::Simple

This simple embedded web server is similar to HTTP::Daemon, but provides
more hooks for subclassing and extending.  The subclasses CGI and PSGI give
ways to host existing web applications or frameworks that use those APIs.

The Perl Server Gateway Interface is a more powerful and efficient web
server API than CGI.  Several well known Perl 5 products are based on it,
for example Plack and Dancer.  This Perl 6 based project offers the same
web server foundation on Rakudo, to assist the porting of such web
frameworks to Perl 6.

The object hierarchy follows its Perl 5 based prototype closely, except
where the CGI concerns were not separated from the web server.  In this
Perl 6 implementation the PSGI concerns are fully separated from the CGI


Included are examples of minimal web servers and some that demonstrate use
of extension hooks and subclassing.


The code is badly under tested, contributions would be welcome.


The Perl 6 project:
The Perl Dancer project:
PSGI spec:
Rack spec:
Something went wrong with that request. Please try again.