Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    app->start;
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $response3 = $ua->request($request3);
    print $response3->as_string();
    
  3. or download this
    FIRST REQUEST
    
    ...
    Client-Warning: Missing Authenticate header
    
    unauthorized
    
  4. or download this
    HTTP::Server::PSGI: Accepting connections at http://0:80/
    
    ...
    [2020-06-15 13:26:24.68275] [29291] [warn] [jscLU00Y] unexpected reque
    +st of TEXT_B from 8.8.8.8: rejected authenticated: Mojolicious::Contr
    +oller=HASH(0x316b0a0)->session( 'is_my_user_authenticated') expiratio
    +n: Mojolicious::Controller=HASH(0x316b0a0)->session( 'expiration')
    [2020-06-15 13:26:24.68341] [29291] [debug] [jscLU00Y] 401 Unauthorize
    +d (0.001321s, 757.002/s)
    8.8.8.8 - - [15/Jun/2020:13:26:24 +0200] "GET /get_second HTTP/1.1" 40
    +1 - "-" "libwww-perl/6.26"