]>
Commit | Line | Data |
---|---|---|
4caa34ae NB |
1 | Source: libhttp-daemon-perl |
2 | Section: perl | |
3 | Priority: optional | |
4 | Build-Depends: debhelper (>= 7) | |
03b41e0a NB |
5 | Build-Depends-Indep: perl, libhttp-message-perl, libhttp-date-perl, |
6 | liblwp-mediatypes-perl | |
4caa34ae NB |
7 | Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> |
8 | Uploaders: Nicholas Bamber <nicholas@periapt.co.uk> | |
9 | Standards-Version: 3.9.1 | |
10 | Homepage: http://search.cpan.org/dist/HTTP-Daemon/ | |
11 | Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhttp-daemon-perl/ | |
12 | Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhttp-daemon-perl/ | |
13 | ||
14 | Package: libhttp-daemon-perl | |
15 | Architecture: all | |
03b41e0a NB |
16 | Depends: ${misc:Depends}, ${perl:Depends}, libhttp-message-perl, |
17 | libhttp-date-perl, liblwp-mediatypes-perl | |
4caa34ae NB |
18 | Replaces: libwww-perl (<< 6.00) |
19 | Breaks: libwww-perl (<< 6.00) | |
20 | Description: simple http server class | |
21 | Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a | |
22 | socket for incoming requests. The HTTP::Daemon is a subclass of | |
23 | IO::Socket::INET, so you can perform socket operations directly on it too. | |
24 | . | |
25 | The accept() method will return when a connection from a client is available. | |
26 | The returned value will be an HTTP::Daemon::ClientConn object which is | |
27 | another IO::Socket::INET subclass. Calling the get_request() method on this | |
28 | object will read data from the client and return an HTTP::Request object. The | |
29 | ClientConn object also provide methods to send back various responses. | |
30 | . | |
31 | This HTTP daemon does not fork(2) for you. Your application, i.e. the user of | |
32 | the HTTP::Daemon is responsible for forking if that is desirable. Also note | |
33 | that the user is responsible for generating responses that conform to the | |
34 | HTTP/1.1 protocol. |