On 10/28/16 at 2:53 AM, [email protected] (Rado Duoistin) pronounced:

> > Starting server in PID 67282. 
> > Starting HTTP server on http://0.0.0.0:6543 
> > 127.0.0.1 - - [28/Oct/2016 00:35:01] "GET / HTTP/1.1" 302 548 
> > 127.0.0.1 - - [28/Oct/2016 00:35:01] "GET /plain HTTP/1.1" 200 57 
> >
> > Note that you should have a 302 redirect from `/` to the 200 `/plain`. 
> >
>  
> Shouldn't  I have 200?

For `/plain`, yes.  For `/`, it should be a 302 redirect, which takes you to 
`/plain`.

> Finally, compare your source files against ours: 
> >
> > https://github.com/Pylons/pyramid/tree/1.7-branch/docs/quick_tutorial/request_response
> >  
> >
> 
>  I compared with git.
>  I have a directory tutorial.egg-info and directory tutorial/__pycache__, 
> also file tutorial/home.pt

The egg is normal and the result of doing `pip install -e .`.

I don't have a `tutorial/home.pt`.  Delete that file.

I don't have a pycache.  Delete that file, then try restarting pserve.

--steve

------------------------
Steve Piercy, Soquel, CA

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/r471Ps-1085i-9D16F3519C9B42AA9B4247CE71EBA250%40stevepi-mbp.local.
For more options, visit https://groups.google.com/d/optout.

Reply via email to