<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/cherrypy-users</id>
  <title type="text">cherrypy-users Google Group</title>
  <subtitle type="text">
  For questions about using CherryPy
  </subtitle>
  <link href="/group/cherrypy-users/feed/atom_v1_0_msgs.xml" rel="self" title="cherrypy-users feed"/>
  <updated>2009-11-23T17:50:29Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>João Pinto</name>
  <email>lamego.pi...@gmail.com</email>
  </author>
  <updated>2009-11-23T17:50:29Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fa72c56c6b7c9113?show_docid=fa72c56c6b7c9113</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fa72c56c6b7c9113?show_docid=fa72c56c6b7c9113"/>
  <title type="text">Re: [cherrypy-users] Re: Custom tool: where is session?</title>
  <summary type="html" xml:space="preserve">
  Have you checked the tools priority ? &lt;br&gt; Your auth tool must have an higher priority to make sure it&#39;s called after &lt;br&gt; the session tool. &lt;br&gt; &lt;p&gt;2009/11/23 Yosifov Pavel &amp;lt;aqua...@gmail.com&amp;gt; &lt;br&gt; &lt;p&gt;-- &lt;br&gt; João Pinto &lt;br&gt; IRC: joaopinto @ irc.freenode.net &lt;br&gt; Jabber ID: lamego.pi...@gmail.com &lt;br&gt; GetDeb Team Leader - &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.getdeb.net&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yosifov Pavel</name>
  <email>aqua...@gmail.com</email>
  </author>
  <updated>2009-11-23T17:34:30Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fbcc3b89e31c65b5?show_docid=fbcc3b89e31c65b5</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fbcc3b89e31c65b5?show_docid=fbcc3b89e31c65b5"/>
  <title type="text">Re: Custom tool: where is session?</title>
  <summary type="html" xml:space="preserve">
  I have add this. &lt;br&gt; But I get: the same error. &lt;br&gt; &lt;p&gt;So, not &amp;quot;module&amp;quot;, but &amp;quot;_Serving&amp;quot;. May be, is there some way to &lt;br&gt; &amp;quot;listen&amp;quot; CP&#39;s tools&#39; events, for example when &amp;quot;basic_auth&amp;quot; is done &lt;br&gt; (logged user)? &lt;br&gt; &lt;p&gt;== &lt;br&gt; Best, &lt;br&gt; Yosifov P.
  </summary>
  </entry>
  <entry>
  <author>
  <name>João Pinto</name>
  <email>lamego.pi...@gmail.com</email>
  </author>
  <updated>2009-11-23T16:40:20Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/4ab1bfe02e0cbd08?show_docid=4ab1bfe02e0cbd08</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/4ab1bfe02e0cbd08?show_docid=4ab1bfe02e0cbd08"/>
  <title type="text">Re: [cherrypy-users] Custom tool: where is session?</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; I believe you need to set the storage related parameters, I am using the &lt;br&gt; following: &lt;br&gt; &lt;p&gt; cherrypy.config.update({&#39;tools .sessions.on&#39;: True \ &lt;br&gt; , &#39;tools.sessions.storage_type&#39;: &amp;quot;file&amp;quot; \ &lt;br&gt; , &#39;tools.sessions.storage_path&#39;: &amp;quot;/tmp/cherrypy_sessions_&amp;quot; + &lt;br&gt; app_name \ &lt;br&gt; , &#39;tools.sessions.timeout&#39;: 60 \
  </summary>
  </entry>
  <entry>
  <author>
  <name>Yosifov Pavel</name>
  <email>aqua...@gmail.com</email>
  </author>
  <updated>2009-11-23T15:25:33Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/7cafb79f4ab76c60?show_docid=7cafb79f4ab76c60</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/7cafb79f4ab76c60?show_docid=7cafb79f4ab76c60"/>
  <title type="text">Custom tool: where is session?</title>
  <summary type="html" xml:space="preserve">
  I use basic_auth. But I need some way to save the additional info &lt;br&gt; about logged user in session. How to do it? Does exists way to &lt;br&gt; &amp;quot;listen&amp;quot; successfull authentification with &#39;basic_auth&#39; ? I can&#39;t find &lt;br&gt; something like this. &lt;br&gt; So, I try to write own, custom &#39;basic_auth&#39;: &lt;br&gt; &lt;p&gt;def my_basic_auth(realm, users, encrypt=None):
  </summary>
  </entry>
  <entry>
  <author>
  <name>Farsheed Ashouri</name>
  <email>c...@rodmena.com</email>
  </author>
  <updated>2009-11-18T10:53:19Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/c925dbc7a52ae85c/3e0d14cb61f84e9c?show_docid=3e0d14cb61f84e9c</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/c925dbc7a52ae85c/3e0d14cb61f84e9c?show_docid=3e0d14cb61f84e9c"/>
  <title type="text">شركتی که هداياي مجاني ميده؟--امتحانش ضرر نداره</title>
  <summary type="html" xml:space="preserve">
  سلام . &lt;br&gt; چندروز پيش از طرف يكي از دوستانم ايميلي گرفتم راجع به نحوه ی دریافت موبایل &lt;br&gt; , mp3 player ,HDTV مجانی و ... ، که من جدی نگرفتم و فکر کردم –مثل همیشه- سر &lt;br&gt; کاریه و حتی روی لینکش کلیک هم نکردم
  </summary>
  </entry>
  <entry>
  <author>
  <name>Guilhelm</name>
  <email>guilhelm.pana...@gmail.com</email>
  </author>
  <updated>2009-11-15T20:33:27Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/1d62ae7fafbd2b6a/55aa5ae7b026f400?show_docid=55aa5ae7b026f400</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/1d62ae7fafbd2b6a/55aa5ae7b026f400?show_docid=55aa5ae7b026f400"/>
  <title type="text">Reload application configuration</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;I have a web application using Cherrypy 3.1 that I start with the &lt;br&gt; &amp;quot;startServer&amp;quot; method &lt;br&gt; &lt;p&gt;def getusers(): &lt;br&gt; &lt;p&gt; &#39;&#39;&#39;Returns a dictionnary : &lt;br&gt; - key : user login &lt;br&gt; - value : user password hash &lt;br&gt; &#39;&#39;&#39; &lt;br&gt; all_users = {} &lt;br&gt; for utilisateur in wapp.creche.utilisateurs: &lt;br&gt; all_users[utilisateur.login] = utilisateur.motDePasseChiffre
  </summary>
  </entry>
  <entry>
  <author>
  <name>Richard Lewis</name>
  <email>pyc...@googlemail.com</email>
  </author>
  <updated>2009-11-13T17:29:38Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/2b0f6a922cce33e5?show_docid=2b0f6a922cce33e5</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/2b0f6a922cce33e5?show_docid=2b0f6a922cce33e5"/>
  <title type="text">Re: Configuring log line format (headers)</title>
  <summary type="html" xml:space="preserve">
  Ah brilliant. Works perfectly. Thanks.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Cooper, Andrew</name>
  <email>acoo...@cimtek.com</email>
  </author>
  <updated>2009-11-12T16:45:10Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/2d5631bebb533374?show_docid=2d5631bebb533374</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/2d5631bebb533374?show_docid=2d5631bebb533374"/>
  <title type="text">RE: [cherrypy-users] Re: Cherrypy Flex and upload</title>
  <summary type="html" xml:space="preserve">
  Thanks very much your help is greatly appreciated &lt;br&gt; &lt;p&gt;Andy &lt;br&gt; &lt;p&gt;-----Original Message----- &lt;br&gt; Sent: 12 November 2009 16:41 &lt;br&gt; To: cherrypy-users &lt;br&gt; &lt;p&gt;BTW: the stuff I posted is in addition to turning on the tool noted in &lt;br&gt; Christian&#39;s post. &lt;br&gt; &lt;p&gt;-- &lt;br&gt; &lt;p&gt;You received this message because you are subscribed to the Google Groups &amp;quot;cherrypy-users&amp;quot; group.
  </summary>
  </entry>
  <entry>
  <author>
  <name>limscoder</name>
  <email>dthomp...@gmail.com</email>
  </author>
  <updated>2009-11-12T16:40:52Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/40c69e2b40af7128?show_docid=40c69e2b40af7128</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/40c69e2b40af7128?show_docid=40c69e2b40af7128"/>
  <title type="text">Re: Cherrypy Flex and upload</title>
  <summary type="html" xml:space="preserve">
  BTW: the stuff I posted is in addition to turning on the tool noted in &lt;br&gt; Christian&#39;s post.
  </summary>
  </entry>
  <entry>
  <author>
  <name>limscoder</name>
  <email>dthomp...@gmail.com</email>
  </author>
  <updated>2009-11-12T16:34:54Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/c969f734722967e4?show_docid=c969f734722967e4</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/c969f734722967e4?show_docid=c969f734722967e4"/>
  <title type="text">Re: Cherrypy Flex and upload</title>
  <summary type="html" xml:space="preserve">
  I use Flash uploads with cherrypy, and I need to use this signature to &lt;br&gt; get the upload to work: &lt;br&gt; &lt;p&gt;def upload(self, uploaded_file, Upload=None, Filename=None): &lt;br&gt; # &#39;Upload&#39; and &#39;Filename&#39; are extra parameters that Flash adds. &lt;br&gt; pass &lt;br&gt; &lt;p&gt;When calling the &#39;upload&#39; method of a FileReference object in Flash,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Brewer</name>
  <email>fuman...@aminus.org</email>
  </author>
  <updated>2009-11-12T16:25:59Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/51e94d483ce8c339?show_docid=51e94d483ce8c339</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/51e94d483ce8c339?show_docid=51e94d483ce8c339"/>
  <title type="text">RE: [cherrypy-users] Re: html, rss, atom, Oh My!</title>
  <summary type="html" xml:space="preserve">
  /controller/noun/ &lt;br&gt; &lt;p&gt;Why? &lt;br&gt; &lt;p&gt; def noun(self, id, format=&#39;json&#39;): &lt;br&gt; thing = Thing.get(id) &lt;br&gt; if format == &#39;json&#39;: &lt;br&gt; cherrypy.response.headers[&#39;Con tent-Type&#39;] = &lt;br&gt; &#39;application/json&#39; &lt;br&gt; return simplejson.dumps(thing.dict) &lt;br&gt; elif format == &#39;xml&#39;: &lt;br&gt; ...
  </summary>
  </entry>
  <entry>
  <author>
  <name>Christian Wyglendowski</name>
  <email>christ...@dowski.com</email>
  </author>
  <updated>2009-11-12T16:23:04Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/47890d7481ca88a8?show_docid=47890d7481ca88a8</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/47890d7481ca88a8?show_docid=47890d7481ca88a8"/>
  <title type="text">Re: [cherrypy-users] Cherrypy Flex and upload</title>
  <summary type="html" xml:space="preserve">
  Looks like this is a known issue and is solved by enabling a tool. &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.cherrypy.org/ticket/808&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;HTH, &lt;br&gt; &lt;p&gt;Christian
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andy</name>
  <email>acoo...@cimtek.com</email>
  </author>
  <updated>2009-11-12T15:50:02Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/3129becb9e6c5bf8?show_docid=3129becb9e6c5bf8</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/3129becb9e6c5bf8?show_docid=3129becb9e6c5bf8"/>
  <title type="text">Cherrypy Flex and upload</title>
  <summary type="html" xml:space="preserve">
  To keep things simple I&#39;m using the tut09_files.py example that comes &lt;br&gt; with cherrypy &lt;br&gt; &lt;p&gt;All things are dandy if I use the form to upload the form &lt;br&gt; &lt;p&gt;But if I use Flex to try to upload the file using &lt;br&gt; &lt;p&gt;fileReference.upload(new URLRequest(&amp;quot;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://10.1.254.32.:8000/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; upload&amp;quot;)); &lt;br&gt; &lt;p&gt;I get the following error in cherrypy
  </summary>
  </entry>
  <entry>
  <author>
  <name>dundeemt</name>
  <email>dunde...@gmail.com</email>
  </author>
  <updated>2009-11-12T05:49:48Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/3ff5fe293eccc44b?show_docid=3ff5fe293eccc44b</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/3ff5fe293eccc44b?show_docid=3ff5fe293eccc44b"/>
  <title type="text">Re: html, rss, atom, Oh My!</title>
  <summary type="html" xml:space="preserve">
  While Gerold&#39;s suggestion was spot on for my question, I realize after &lt;br&gt; working with it that my question was flawed. &lt;br&gt; &lt;p&gt;What I really want is to write a data controller, such that it will &lt;br&gt; handle returning the responses based on the url &lt;br&gt; &lt;p&gt;/controller/noun/id and then format with either something like .json
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jason Earl</name>
  <email>je...@notengoamigos.org</email>
  </author>
  <updated>2009-11-11T00:02:22Z</updated>
  <id>http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/e73c24fecc5976f9?show_docid=e73c24fecc5976f9</id>
  <link href="http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/e73c24fecc5976f9?show_docid=e73c24fecc5976f9"/>
  <title type="text">Re: [cherrypy-users] Configuring log line format (headers)</title>
  <summary type="html" xml:space="preserve">
  I have something like this in my config file, and it does the right &lt;br&gt; thing. &lt;br&gt; &lt;p&gt;[global] &lt;br&gt; tools.proxy.on &lt;br&gt; tools.proxy.local = &amp;quot;X-Forwarded-Host&amp;quot; &lt;br&gt; tools.proxy.remote = &amp;quot;X-Forwarded-For&amp;quot;
  </summary>
  </entry>
</feed>
