Help for this page

Select Code to Download


  1. or download this
    $ perl -MHTTP::Request::Common -e " my $f = HTTP::Request->parse ( qq{
    +PATCH /file.txt HTTP/1.1\nHost: www.example.com\nC
    ontent-Type: application/example\nIf-Match: "e0023aa4e"\nContent-Lengt
    +h: 100\n\n[description of changes]} ); $f->dump "
    ...
    
    [description of changes]
    
  2. or download this
    #!/usr/bin/perl --
    use strict;  use warnings;
    use LWP;
    ...
    Client-Response-Num: 1
    
    (no content)
    
  3. or download this
    #!/usr/bin/perl --
    use strict;  use warnings;
    use LWP;
    ...
    <h1>Method Not Allowed</h1>
    <p>The requested method PATCH is not allowed for the URL /frobnicate.<
    +/p>
    </body></html>\n