Skip Menu |
 

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 115670
Status: resolved
Priority: 0/
Queue: HTTP-Message

People
Owner: Nobody in particular
Requestors: branislav.zahradnik [...] gooddata.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Spam-Status: No, score=-2.7 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"
Message-ID: <CAFY0x+PbVY2tGCtWnMotxNp9F9BhPdDi2mUD9_Y0Or7RBmGcuA [...] mail.gmail.com>
X-Received: by 10.36.76.71 with SMTP id a68mr3604442itb.77.1467120277728; Tue, 28 Jun 2016 06:24:37 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.7
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D09C42401F4 for <cpan-bug+HTTP-Message [...] hipster.bestpractical.com>; Tue, 28 Jun 2016 09:24:49 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lSQyBh7hZ7+E for <cpan-bug+HTTP-Message [...] hipster.bestpractical.com>; Tue, 28 Jun 2016 09:24:48 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 9EEDA2401EA for <bug-HTTP-Message [...] rt.cpan.org>; Tue, 28 Jun 2016 09:24:48 -0400 (EDT)
Received: (qmail 23861 invoked by alias); 28 Jun 2016 13:24:47 -0000
Received: from mail-it0-f43.google.com (HELO mail-it0-f43.google.com) (209.85.214.43) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 28 Jun 2016 06:24:42 -0700
Received: by mail-it0-f43.google.com with SMTP id g127so90150656ith.0 for <bug-HTTP-Message [...] rt.cpan.org>; Tue, 28 Jun 2016 06:24:41 -0700 (PDT)
Received: by 10.107.158.78 with HTTP; Tue, 28 Jun 2016 06:24:37 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gooddata.com
Delivered-To: cpan-bug+HTTP-Message [...] hipster.bestpractical.com
Subject: HTTP::Config->match generates "uninitialized value" in matching method
Return-Path: <branislav.zahradnik [...] gooddata.com>
X-RT-Mail-Extension: http-message
X-Original-To: cpan-bug+HTTP-Message [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gooddata.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=p6of4KRukUbCse7n0D5QG7ts+U1wuJJVkjeLSCBSkk0=; b=b18/0v2X7T7cZIewZRdYy5BpjuIyjeJ1owZl3AKsETnHvO2epl/IrphbFwfi01mFh4 dQ0VD8YLMf0ElRCEN17HQUZaBv9g70IvSvCsQUWY7vwocqVDX8pDErYYM/QefjWLBfyx mmTBTIlkXkkzvY30FWMqfhl3r7M9FG4gUJHDs=
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=p6of4KRukUbCse7n0D5QG7ts+U1wuJJVkjeLSCBSkk0=; b=ZlTlz/h9XGsYvzmrBvl96Z/lPjvY5CAODxlTKUQrctmkTWBL/wQwF6KRXUqSvD93SW myRdaTXt5p9rbHB4JXWOu3PaZDFgGnjWe2xoGrtsvLt6xwiizzOuyIk8XGQ0Qyrt59dy oZhESG28nUW8diSFn3CGdllolqAlvvrUJrd0hcmWaV7jEf1hD72csxfKRfi0Fztrdr7s RoR8+X5q2iSJqR3fQFhmj5rcHbg8sGhyYOCVj9H6Hj127zbSjZeTZVgHmxNw8dqlIRzp KylST2gx3VPOuAlRGoejcl8cPJa/pV2XEV1IXJokt0LLMgcjkUFO5cKGX/WVpuc9aUA3 vlVA==
Date: Tue, 28 Jun 2016 15:24:37 +0200
X-Spam-Level:
To: bug-HTTP-Message [...] rt.cpan.org
From: Branislav Zahradnik <branislav.zahradnik [...] gooddata.com>
X-GM-Message-State: ALyK8tLqPJjb3LWNXZRwNX6R1R15eAibjEHZVL/D1qE8pFUYL7IH0J+XCp9VmL73+Hlb9aLav1KciNyfXFr1ng==
X-RT-Original-Encoding: utf-8
X-RT-Interface: Email
Content-Length: 717
Download (untitled) / with headers
text/plain 717b
Use case: LWP::UserAgent response redirect handler with matching specific response header, eg "Client-Warning" Current code: m_header__ => sub { my($v, $k, $uri, $request, $response) = @_; return unless $request; return 1 if $request->header($k) eq $v; return 1 if $response && $response->header($k) eq $v; return 0; }, Quick fix: m_header__ => sub { my($v, $k, $uri, $request, $response) = @_; return unless $request; return 1 if $request->header($k) && $request->header($k) eq $v; return 1 if $response && $response->header($k) && $response->header($k) eq $v; return 0; }, or just disable warnings in those lamdas.
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-12452-1490921821-1167.115670-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 82


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.