Bug#680028: PUT

gregor herrmann gregoa at debian.org
Fri Jul 4 20:36:20 UTC 2014


On Tue, 03 Jul 2012 09:30:04 +0800, jidanni at jidanni.org wrote:

> Package: libwww-perl
> Version: 6.04-1
> Severity: wishlist
> File: /usr/share/man/man1/lwp-request.1p.gz
> 
> We see PUT here
> 
>   DESCRIPTION
>          This program can be used to send requests to WWW servers and your local
>          file system. The request content for POST and PUT methods is read
> 
> But not here
>   NAME
>          lwp-request, GET, POST, HEAD - Simple command line user agent
> Nor on the filesystem...
> 
> So maybe something should be adjusted...

I don't think so.

lwp-request knows several methods, [0] which can all be invoked as
    lwp-request -m FOO

For 3 of them (GET, POST, HEAD) of offers shortcuts via copies
(upstream) [1] or symlinks (Debian). So these three are in the NAME of
the POD, as the 4 manpages are the same (or sysmlinks).

There is, as you have mentioned, no PUT binary/symlink, so no need
for it to be mentioned in the NAME of the POD/manpage; and still
lwp-request can make PUT requests, and a few others.

Maybe that's confusing but I see no bug here and suggest to close
this ticket.


Cheers,
gregor


[0]
%allowed_methods = (
    GET        => "",
    HEAD       => "",
    POST       => "C",  
    PUT        => "C",
    DELETE     => "",
    TRACE      => "",
    OPTIONS    => "",
);

[1] Makefile.PL:
    for (qw(GET HEAD POST)) {
        File::Copy::copy("bin/lwp-request", "bin/$_") || die "Can't copy bin/$_";
        chmod(0755, "bin/$_");
        push(@prog, $_);
    }

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Davy Graham: Bulgarian Dance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 928 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140704/3e662a2b/attachment.sig>


More information about the pkg-perl-maintainers mailing list