Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion downloading files broken when HTTP header "Host: hostname:80" is used
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ben Collins-Sussman  
View profile  
 More options Mar 23 2010, 11:34 am
From: Ben Collins-Sussman <suss...@google.com>
Date: Tue, 23 Mar 2010 10:34:18 -0500
Local: Tues, Mar 23 2010 11:34 am
Subject: Re: downloading files broken when HTTP header "Host: hostname:80" is used
Thanks for the report, we'll start investigating to see why we're
returning 404 when we shouldn't be.
On Tue, Mar 23, 2010 at 10:07 AM, cwei...@cweiske.de <cwei...@cweiske.de> wrote:
> The PEAR PHP installer fails to discover channels and install packages
> hosted on google code since several weeks now.

> The issue itself is documented in http://pear.php.net/bugs/bug.php?id=17234
> and is as follows:
> - The PEAR installer sends a HTTP request to google code, i.e. for
> http://pear-smarty.googlecode.com/svn/channel.xml
> - The HTTP request contains a "Host:" header
> - The Host header is "Host: pear-smarty.googlecode.com:80"

> The port number is the problem here. Without the port number, it works
> fine. With it, we all get a 404 error.

> The HTTP RFC http://www.faqs.org/rfcs/rfc2616.html actually allows
> adding the port:
>> 14.23 Host
>> Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

> So for me, google code is broken.

> We could of course roll a new release of the PEAR installer, but I'd
> rather see the google servers obey the standards.

> Regards,
> Christian Weiske

> --
> You received this message because you are subscribed to the Google Groups "Project Hosting on Google Code" group.
> To post to this group, send email to google-code-hosting@googlegroups.com.
> To unsubscribe from this group, send email to google-code-hosting+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-code-hosting?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.