Skip Menu |
 

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 90042
Status: new
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: daniel [...] ruoso.com
Cc:
AdminCc:

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



From daniel [...] ruoso.com Mon Nov 4 11: 23:11 2013
MIME-Version: 1.0
In-Reply-To: <CAA8KeOJUKHRZXtv_+YLq5fUUpvc3q9QrejZAphBkGdQ+MZDVXw [...] mail.gmail.com>
X-Spam-Status: No, score=-4.984 tagged_above=-99.9 required=10 tests=[AWL=1.250, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
X-Spam-Flag: NO
References: <CAA8KeOJUKHRZXtv_+YLq5fUUpvc3q9QrejZAphBkGdQ+MZDVXw [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="001a11c34efa303a9304ea5c54e4"
Message-ID: <CAA8KeOKP2e_xO6xEsORr4y2Ax5g=LRWZZdDd3fnpPGaMB=LLTQ [...] mail.gmail.com>
X-Received: by 10.224.96.129 with SMTP id h1mr23407859qan.14.1383582177174; Mon, 04 Nov 2013 08:22:57 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -4.984
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 157D9240BFC for <cpan-bug+Net-Server [...] hipster.bestpractical.com>; Mon, 4 Nov 2013 11:23:11 -0500 (EST)
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 ROVe3bjFBsWv for <cpan-bug+Net-Server [...] hipster.bestpractical.com>; Mon, 4 Nov 2013 11:23:09 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2A8A124093F for <bug-Net-Server [...] rt.cpan.org>; Mon, 4 Nov 2013 11:23:08 -0500 (EST)
Received: (qmail 17465 invoked by alias); 4 Nov 2013 16:23:07 -0000
Received: from mail-qc0-f172.google.com (HELO mail-qc0-f172.google.com) (209.85.216.172) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 04 Nov 2013 08:23:01 -0800
Received: by mail-qc0-f172.google.com with SMTP id c9so4090426qcz.17 for <bug-Net-Server [...] rt.cpan.org>; Mon, 04 Nov 2013 08:22:57 -0800 (PST)
Received: by 10.96.8.194 with HTTP; Mon, 4 Nov 2013 08:22:57 -0800 (PST)
Received: by 10.96.8.194 with HTTP; Mon, 4 Nov 2013 08:22:57 -0800 (PST)
Delivered-To: cpan-bug+Net-Server [...] hipster.bestpractical.com
Subject: Net::Server::HTTP incorrectly assumes content type to be HTML
Return-Path: <daniel [...] ruoso.com>
X-RT-Mail-Extension: net-server
X-Original-To: cpan-bug+Net-Server [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=GfSqczGQgRAC3R49MgpXHWRexSj4rcxOU4i5E2RFTck=; b=Q0HNU4qIWh9FB+Wi3UlsWB/hJVHh5Seef5S4nwphj8dZG61ygc5zo387Eiv+xiPP2w brhokLg8ENzODVe1vHZaEPuLbJW1xCOUC1qnLoZyZ0c7H2GTrJdTHLc2lFriaGAAxhYd kQxcxl7j110ZknF+scfiUyQ005IBFRaWLsIeWbFPaj9KvwIlGvEktYHrk2ZGYVqAxjO/ TbVX5SrLXO+qRtUTbyJU0u+yCUASGkJC8DiviOb72rhxz/9veZ0F2H9/I9OY4dFueJy+ HDB0Uf0L6nQh9g+Me7L3AzvXj2A07HmlD3MybizagYMyLf39IXYPLsB5KhyB8g0ic3vt o5Pw==
Date: Mon, 4 Nov 2013 11:22:57 -0500
X-Spam-Level:
To: bug-Net-Server [...] rt.cpan.org
From: Daniel Ruoso <daniel [...] ruoso.com>
X-GM-Message-State: ALoCoQlp11ZObx+mjFdx8qRVKbCRtWZJ+c0eju9gq6CQzdlE2t+A40KZGvHz78cUIcIJX8OoyDJ0
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 198
Download (untitled) / with headers
text/plain 198b
Method send_status incorrectly hard codes the content type of the response to be text/html. The content type should probably be received as an argument, or inspected from response_headers. Daniel
content-type: text/html; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 247


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.