• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux HTTP::Server::Brick Download

HTTP::Server::Brick

December 18, 2008
This software is a lightweight, open-source HTTP server written in Perl for prototyping web applications. It is designed to emulate the functionality of the WEBrick server in Ruby, making it easy for developers to quickly test and iterate their code.
Version 0.1.3
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Mark Aufflick
HTTP::Server::Brick is a pure Perl HTTP server that provides a simple and straightforward way to prototype web applications. It is similar to Ruby's WEBrick and offers an easy-to-use API for serving HTTP requests.

With HTTP::Server::Brick, you can quickly spin up a local server for testing your web application. The syntax is straightforward, and you can mount directories and handlers to specific paths with ease.

For example, you can use the following code to create a server on port 8888 and mount a directory to the '/foo/bar' path:

```
use HTTP::Server::Brick;
use HTTP::Status;

my $server = HTTP::Server::Brick->new( port => 8888 );
$server->mount( '/foo/bar' => {
path => '/some/directory/htdocs',
});
```

Additionally, you can mount a handler to a path, as shown in the following example:

```
$server->mount( '/test/proc' => {
handler => sub {
my ($req, $res) = @_;
$res->add_content("Path info: $req->{path_info}.");
},
});
```

This will create a handler that prints the path info for requests made to the '/test/proc' path.

Overall, HTTP::Server::Brick is an excellent option for prototyping web applications in Perl. It's lightweight, easy to use, and provides all the functionality you need for basic HTTP serving.
What's New

Version 0.1.3: N/A

Free Download 14.6K
325
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

twitter-cmdline
This Perl program simplifies posting and reading Twitter's friends_timeline in a user-friendly ...
GemRB: The Infinity Engine Clone
Software that mimics BioWare's Infinity game engine, used in games like Baldur's ...
Rank Tracker
Rank Tracker is a comprehensive tool for monitoring rankings.
gentoo splash theme chooser
The Gentoo Splash Theme Chooser is a software application that allows users ...
RSS Ripper
"Python-based RSS Ripper project utilizes scripts to optimize RSS feeds for improved ...
Zeppoo
Zeppoo is software that detects rootkit presence on your system.
ciscobackup
The software utility script, CiscoBackup Project, offers a secure way to backup ...
my_pipe
My_pipe is a compact daemon that links to a Unix pipe and ...
eddiebrowser
Eddiebrowser is a CGI tool that offers a visual representation of system ...
PitchDark for Fx
PitchDark is a Firefox theme designed for maximum screen space and usability ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.