Skip Menu |
 

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 27262
Status: resolved
Priority: 0/
Queue: POE-Component-Client-HTTP

People
Owner: Nobody in particular
Requestors: Jeffrey.Posnick [...] morganstanley.com
Cc:
AdminCc:

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



X-Originalarrivaltime: 23 May 2007 15:10:00.0468 (UTC) FILETIME=[6EC2BD40:01C79D4C]
MIME-Version: 1.0
X-Spam-Status: No, hits=-1.1 required=8.0 tests=BAYES_05,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,SPF_PASS
Content-Class: urn:content-classes:message
Received-SPF: pass (x1.develooper.com: local policy)
Importance: normal
content-type: text/plain; charset="utf-8"
X-MS-Tnef-Correlator:
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 5E59A4D80D0 for <bug-POE-Component-Client-HTTP [...] rt.cpan.org>; Wed, 23 May 2007 11:12:03 -0400 (EDT)
Received: (qmail 14937 invoked by alias); 23 May 2007 15:12:02 -0000
Received: from hqvsbh1.ms.com (HELO hqvsbh1.ms.com) (205.228.12.101) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 23 May 2007 08:10:18 -0700
Received: from hqvsbh1.ms.com (localhost [127.0.0.1]) by hqvsbh1.ms.com (Postfix) with ESMTP id D38341BDC for <bug-POE-Component-Client-HTTP [...] rt.cpan.org>; Wed, 23 May 2007 11:10:11 -0400 (EDT)
Received: from ny37im01.ms.com (unknown [144.14.31.40]) by hqvsbh1.ms.com (internal Postfix) with ESMTP id B09B0A30 for <bug-POE-Component-Client-HTTP [...] rt.cpan.org>; Wed, 23 May 2007 11:10:11 -0400 (EDT)
Received: from PAWEXOB01.msad.ms.com (pawexob01 [205.228.46.100]) by ny37im01.ms.com (Sendmail MTA Hub) with ESMTP id l4NFAB905133 for <bug-POE-Component-Client-HTTP [...] rt.cpan.org>; Wed, 23 May 2007 11:10:11 -0400 (EDT)
Received: from PAWEXBH01.msad.ms.com ([205.228.46.152]) by PAWEXOB01.msad.ms.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 23 May 2007 11:10:00 -0400
Received: from NYWEXMB57.msad.ms.com ([205.228.46.141]) by PAWEXBH01.msad.ms.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 23 May 2007 11:10:00 -0400
Delivered-To: cpan-bug+poe-component-client-http [...] diesel.bestpractical.com
X-CR-Puzzleid: {2EA06EF4-D632-4B83-A026-4956B0FE8002}
Subject: POE::Filter::HTTPHead and multi-valued headers
Return-Path: <Jeffrey.Posnick [...] morganstanley.com>
Thread-Index: AcedTGtlYQVfRHCVQyyT8zwdoYhHsQ==
X-Original-To: bug-POE-Component-Client-HTTP [...] rt.cpan.org
X-Spam-Check-BY: la.mx.develooper.com
Date: Wed, 23 May 2007 11:09:54 -0400
Thread-Topic: POE::Filter::HTTPHead and multi-valued headers
X-MS-Has-Attach:
Message-Id: <5E8058F3C7EBED45B57520F64A43291B0CA1B179 [...] NYWEXMB57.msad.ms.com>
X-CR-Hashedpuzzle: ARDZ Av+6 C70O EPcW Eoar EsTW EuKo FDkg Gp9j G52H HFEj HigU JGtJ JsQe JvJW K6SR;1;YgB1AGcALQBwAG8AZQAtAGMAbwBtAHAAbwBuAGUAbgB0AC0AYwBsAGkAZQBuAHQALQBoAHQAdABwAEAAcgB0AC4AYwBwAGEAbgAuAG8AcgBnAA==;Sosha1_v1;7;{2EA06EF4-D632-4B83-A026-4956B0FE8002};agBlAGYAZgByAGUAeQAuAHAAbwBzAG4AaQBjAGsAQABtAG8AcgBnAGEAbgBzAHQAYQBuAGwAZQB5AC4AYwBvAG0A;Wed, 23 May 2007 15:09:54 GMT;UABPAEUAOgA6AEYAaQBsAHQAZQByADoAOgBIAFQAVABQAEgAZQBhAGQAIABhAG4AZAAgAG0AdQBsAHQAaQAtAHYAYQBsAHUAZQBkACAAaABlAGEAZABlAHIAcwA=
X-Mimeole: Produced By Microsoft MimeOLE V6.00.3790.2663
To: <bug-POE-Component-Client-HTTP [...] rt.cpan.org>
Priority: normal
Content-Transfer-Encoding: quoted-printable
From: "Posnick, Jeffrey \(IT\)" <Jeffrey.Posnick [...] morganstanley.com>
X-RT-Original-Encoding: us-ascii
Content-Length: 925
Download (untitled) / with headers
text/plain 925b
Hello, I've found a problem with POE::Filter::HTTPHead 0.01 related to processing HTTP response messages with multi-valued headers. When the multiple values are returned in repeated headers, only the last value will be retained in the HTTP::Headers object that gets created by POE::Filter::HTTPHead. E.g.: Set-Cookie: abcd Set-Cookie: efgh will lead to only the "Set-Cookie: efgh" header being present in the resulting object. A small change to line 90 will correctly preserve multiple values: $self->[WORK_RESPONSE]->header($1, $2) changed to: $self->[WORK_RESPONSE]->push_header($1, $2) Any chance that this change can make it into the official release? Cheers, -j -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
MIME-Version: 1.0
In-Reply-To: <5E8058F3C7EBED45B57520F64A43291B0CA1B179 [...] NYWEXMB57.msad.ms.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <5E8058F3C7EBED45B57520F64A43291B0CA1B179 [...] NYWEXMB57.msad.ms.com>
Message-Id: <rt-3.6.HEAD-26960-1206431492-544.27262-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 53
Thanks for the patch. I've applied it as change 319.


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.