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