16 messages in com.googlegroups.pylons-discussRe: ANN: Pylons 0.9.4 Released| From | Sent On | Attachments |
|---|---|---|
| Ben Bangert | 29 Dec 2006 20:51 | |
| Jose Galvez | 29 Dec 2006 23:08 | |
| Ben Bangert | 29 Dec 2006 23:55 | |
| Jose Galvez | 30 Dec 2006 00:06 | |
| Ben Bangert | 30 Dec 2006 00:10 | |
| Robert Leftwich | 30 Dec 2006 16:40 | |
| Philip Jenvey | 30 Dec 2006 17:34 | |
| Ian Bicking | 30 Dec 2006 17:54 | |
| Robert Leftwich | 30 Dec 2006 18:17 | |
| Ian Bicking | 30 Dec 2006 18:30 | |
| Robert Leftwich | 30 Dec 2006 19:21 | |
| Robert Leftwich | 30 Dec 2006 20:01 | |
| Bruce Wang | 30 Dec 2006 20:40 | |
| Robert Leftwich | 30 Dec 2006 20:54 | |
| Ben Bangert | 30 Dec 2006 22:36 | |
| Bruce Wang | 31 Dec 2006 01:55 |
| Subject: | Re: ANN: Pylons 0.9.4 Released![]() |
|---|---|
| From: | Ian Bicking (ianb...@public.gmane.org) |
| Date: | 12/30/2006 05:54:21 PM |
| List: | com.googlegroups.pylons-discuss |
Philip Jenvey wrote:
After upgrading, some of the links issue 301 status codes to exactly the same url which causes the browser to report redirection limit errors or similar. Others are working as expected. The common link seems to be that the links use routes with '*url'
e.g. for the route: map.connect('philosophy', 'philosophy/:subsection/*url', controller='content', action='view', subsection='overview', section='philosophy', url='')
LiveHTTPHeaders reports:
http://localhost:8000/philosophy/overview/
GET /philosophy/overview/ HTTP/1.1 Host: localhost:8000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061115 Ubuntu/dapper-security Firefox/1.5.0.8 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/ plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-au,en-us;q=0.7,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: UTF-8,* Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8000/
HTTP/1.x 301 Moved Permanently Server: PasteWSGIServer/0.5 Python/2.4.3 Date: Sat, 30 Dec 2006 23:46:20 GMT Location: http://localhost:8000/philosophy/overview/ Content-Type: text/html Connection: close
Anyone else seeing this?
I don't know of anything in Pylons or Paste that sends 301s except paste.urlparser. redirect_to sends 302s.
So I'm inclined to suggest trying Paste 1.0.1 to see if that affects this problem (although it might not work completely with Pylons 0.9.4).
It's probably Paste. Is /philosophy/overview/ a directory served as static files? Of course, without any particular support for index.html there shouldn't be anything useful at that location...?
Anyway, there was an infinite redirect problem that I thought James Gardner fixed for Paste 1.1.1.
--
Ian Bicking | ianb...@public.gmane.org |
http://blog.ianbicking.org




