09:10 <morgan`:#afpy> hello
10:07 <afpy_user:#afpy> salut
10:11 <kujiu:#afpy> bonjour
10:19 <afpy_user:#afpy> quelqu un sy connait en framework pylons?
10:23 <gawel> ouais
10:38 <afpy_user:#afpy> je cherche a retourne une reponse 401 avec WWW-Authenticate dans le header
10:39 <afpy_user:#afpy> je ny arrive pas
10:48 <gawel> return exc.HTTPUnauthorized() je dirais
10:49 <gawel> from webob import exc
10:50 <gawel> voir resp = webob.Response(); resp.status = 401; resp.headers['WWW-Authenticate'] = 'truc'; return resp
11:06 <afpy_user> daccord merci je vais essayer ca
11:07 <gawel> sinon avec abort() doit y avoir moyen
11:08 <afpy_user> jai essaye
11:08 <afpy_user> mais je suis pas le seul a voir le soucis apparement: http://pylonshq.com/project/pylonshq/ticket/130
11:08 <afpy_user> et je nai pas trouve de solution
11:09 <gawel> je vois
11:09 <gawel> enfin c'était y a 3ans ça :)
11:11 <afpy_user> ui :) mais jai toujours le meme soucis
11:21 <afpy_user> jarrive pas a import webob, je dois avoir une vieille version de pylons mais ca metonnerait
11:21 <afpy_user> comment je peux voir ma version de pylons?
11:23 <afpy_user> c'est bon jai la 0.9.7
11:24 <afpy_user> bizarrement je nai pas lair davoir webob, il faut lactiver ou configurer qqchose pour l utiliser?
11:35 <afpy_user> en fait il y a : pylons.controllers.util.Response qui herite apparement de webob.response.Response
11:35 <afpy_user> resp = Response()
11:36 <afpy_user> resp.status = 401
11:36 <afpy_user> resp['WWW-Authenticate'] = 'basic realm="test"'
11:36 <afpy_user> return resp
11:36 <afpy_user> mais ca ne marche pas
11:36 <afpy_user> il retorune tjrs une 200
11:37 <afpy_user> alors que si je fais resp.content = 'salut'
11:37 <afpy_user> je vois bien salut affiche, le header a change par contre
11:49 <Solevis> Bonjour
15:46 <No`:#afpy> hello l'afpy
16:13 <nightlybuild:#afpy> yotaff: ping ?
17:51 <Maddingue:#afpy> quel est le nom du modul ePython pour faire des bindings C sans écrire de C ?
17:51 <youyou:#afpy> cython
17:52 <haypo:#afpy> Maddingue: ctypes ?
17:52 <Maddingue:#afpy> ah voilà, c'est celui-là
17:52 <haypo:#afpy> youyou: cython c'est encore un peu du C
17:52 <Maddingue:#afpy> Cython c'est encore un nouveau truc ?
17:52 <youyou:#afpy> haypo: ok
18:07 <yotaff:#afpy> Maddingue: wrapper haut niveau
18:07 <yotaff:#afpy> non non c'est pas haut niveau
18:07 <yotaff:#afpy> zut
18:07 <yotaff:#afpy> non non c'est pas nouveaux
18:07 <yotaff:#afpy> rhaaa
18:07 <yotaff:#afpy> -x
18:07 <Maddingue:#afpy> :)