visitng an app without a trailing slash

16 views
Skip to first unread message

Terrence Brannon

unread,
Apr 22, 2015, 2:53:08 PM4/22/15
to nagare...@googlegroups.com
I did nagare-admin createp-app ttt

and then python setup.py develop

When I attempt to startup the server with this command:
~/nagare-home/bin/nagare-admin serve --host 0.0.0.0 --port 8000 --reload --debug ttt
Application 'app ttt' registered as '/ttt'
04/22/15 11:36:59 -serving on 0.0.0.0:8000 view at http://127.0.0.1:8000


I get very different results if I visit with GET /ttt HTTP/1.0 versus GET /ttt/ HTTP/1.0:

Terrence Brannon

unread,
Apr 22, 2015, 4:34:53 PM4/22/15
to nagare...@googlegroups.com
If I had to guess what the problem is, I would say it is this new version of Paste that was released yesterday:

apoirier

unread,
Apr 22, 2015, 10:26:24 PM4/22/15
to nagare...@googlegroups.com
Le mercredi 22 avril 2015 22:34:53 UTC+2, Terrence Brannon a écrit :
If I had to guess what the problem is, I would say it is this new version of Paste that was released yesterday:

You're right. The problem doesn't exist with the previous version of Paste: a 'easy_install -U paste==1.7.5.1' solves it.

Thanks Terrence for the report, I'll take a look at this Paste issue.

Romuald Texier-Marcadé

unread,
Apr 28, 2015, 11:49:22 AM4/28/15
to nagare...@googlegroups.com
Hello,
I can confirm that Paste 2.0 breaks links in Nagare. Downgrading to Paste 1.7.5 solves the problem.

Sincerely,

Romuald.

apoirier

unread,
Apr 28, 2015, 6:25:09 PM4/28/15
to nagare...@googlegroups.com
Hello,
I can confirm that Paste 2.0 breaks links in Nagare. Downgrading to Paste 1.7.5 solves the problem.

apoirier

unread,
May 12, 2015, 6:05:47 PM5/12/15
to nagare...@googlegroups.com, alain.p...@gmail.com
Reply all
Reply to author
Forward
0 new messages