wget --user he...@gmail.com --password test1234 -q -O- http://test.com/testing/pages/list_pages
On Tuesday, November 4, 2014 9:57:20 AM UTC+1, Niphlod wrote: > > how do you call wget ? > > On Monday, November 3, 2014 11:51:34 PM UTC+1, Falko Delarue wrote: >> >> wget and the browser http://email:p...@mysite.com >> >> On Monday, November 3, 2014 4:24:15 PM UTC+1, Niphlod wrote: >>> >>> how are you trying to access the function (wget, curl, some cmdline >>> script, etc etc etc) ? >>> >>> On Monday, November 3, 2014 2:34:51 PM UTC+1, Falko Delarue wrote: >>>> >>>> I tried to access web2py via basic auth as described in >>>> http://web2py.com/books/default/chapter/29/09/access-control#Access-Control-and-Basic-Authentication >>>> since it did not work i tried to track the error down and put some >>>> debug print in gluon/tools.py Auth basic() >>>> >>>> I can see that the basic function is called but >>>> current.request.env.http_authorization is none >>>> >>>> I cannot find anything that has to do with authorization in either >>>> current.request.env or current.request >>>> >>>> It seems like the auth header is removed somehow, I tried wget and >>>> browser URL login string. >>>> >>>> My setup is >>>> >>>> 2.9.11-stable+timestamp.2014.09.15.23.35.11 >>>> (Running on Rocket 1.2.6, Python 2.7.8) >>>> on Ubuntu 14.10 >>>> with wget and chrome Version 38.0.2125.111 (64-bit) >>>> >>>> can somebody help me? >>>> >>> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.