Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 45429
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: jeremy.mates [...] gmail.com
Cc:
AdminCc:

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

Attachments
0001-Support-either-utf8-or-utf-8-encoding-response.patch



Subject: Handle utf8 or utf-8 response from delicious
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1240696498-10159-281"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 105
Download (untitled) / with headers
text/plain 105b
Delicious returns "utf8" while the test script expects instead "utf-8". Patch (attached) supports either.
Subject: 0001-Support-either-utf8-or-utf-8-encoding-response.patch
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1240696498-10159-280"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/octet-stream; name="0001-Support-either-utf8-or-utf-8-encoding-response.patch"
Content-Disposition: inline; filename="0001-Support-either-utf8-or-utf-8-encoding-response.patch"
Content-Transfer-Encoding: base64
Content-Length: 671
From f22c3e11a75b7326795a34c04d77254dbf044a34 Mon Sep 17 00:00:00 2001 From: Jeremy Mates <jmates@sial.org> Date: Sat, 25 Apr 2009 21:40:17 +0000 Subject: [PATCH] Support either utf8 or utf-8 encoding response. --- t/live/encoding.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/live/encoding.t b/t/live/encoding.t index 8855ae0..336cc86 100644 --- a/t/live/encoding.t +++ b/t/live/encoding.t @@ -5,7 +5,7 @@ use warnings; use constant PAIRS => { 'http://delicious.com/' - => 'utf-8', + => 'utf-?8', 'http://www.liveinternet.ru/users/dashdi/blog' => 'cp1251', 'http://oops-music.com/' -- 1.6.1.3
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-25318-1246909623-1461.45429-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 194
Download (untitled) / with headers
text/plain 194b
I suspect that this was a one-time problem on their end. The test passes now. Please post bugs at http://code.google.com/p/www-mechanize/issues/list not here. This RT queue is no longer used.


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.