<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>cherrypy-users Google Group</title>
  <link>http://groups.google.com/group/cherrypy-users</link>
  <description>For questions about using CherryPy</description>
  <language>en</language>
  <item>
  <title>Re: [cherrypy-users] Re: Custom tool: where is session?</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fa72c56c6b7c9113?show_docid=fa72c56c6b7c9113</link>
  <description>
  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;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fa72c56c6b7c9113?show_docid=fa72c56c6b7c9113</guid>
  <author>
  lamego.pi...@gmail.com
  (João Pinto)
  </author>
  <pubDate>Mon, 23 Nov 2009 17:50:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: Custom tool: where is session?</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fbcc3b89e31c65b5?show_docid=fbcc3b89e31c65b5</link>
  <description>
  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.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/fbcc3b89e31c65b5?show_docid=fbcc3b89e31c65b5</guid>
  <author>
  aqua...@gmail.com
  (Yosifov Pavel)
  </author>
  <pubDate>Mon, 23 Nov 2009 17:34:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Custom tool: where is session?</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/4ab1bfe02e0cbd08?show_docid=4ab1bfe02e0cbd08</link>
  <description>
  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 \
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/4ab1bfe02e0cbd08?show_docid=4ab1bfe02e0cbd08</guid>
  <author>
  lamego.pi...@gmail.com
  (João Pinto)
  </author>
  <pubDate>Mon, 23 Nov 2009 16:40:20 UT
</pubDate>
  </item>
  <item>
  <title>Custom tool: where is session?</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/7cafb79f4ab76c60?show_docid=7cafb79f4ab76c60</link>
  <description>
  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):
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/7419e71697732925/7cafb79f4ab76c60?show_docid=7cafb79f4ab76c60</guid>
  <author>
  aqua...@gmail.com
  (Yosifov Pavel)
  </author>
  <pubDate>Mon, 23 Nov 2009 15:25:33 UT
</pubDate>
  </item>
  <item>
  <title>شركتی که هداياي مجاني ميده؟--امتحانش ضرر نداره</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/c925dbc7a52ae85c/3e0d14cb61f84e9c?show_docid=3e0d14cb61f84e9c</link>
  <description>
  سلام . &lt;br&gt; چندروز پيش از طرف يكي از دوستانم ايميلي گرفتم راجع به نحوه ی دریافت موبایل &lt;br&gt; , mp3 player ,HDTV مجانی و ... ، که من جدی نگرفتم و فکر کردم –مثل همیشه- سر &lt;br&gt; کاریه و حتی روی لینکش کلیک هم نکردم
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/c925dbc7a52ae85c/3e0d14cb61f84e9c?show_docid=3e0d14cb61f84e9c</guid>
  <author>
  c...@rodmena.com
  (Farsheed Ashouri)
  </author>
  <pubDate>Wed, 18 Nov 2009 10:53:19 UT
</pubDate>
  </item>
  <item>
  <title>Reload application configuration</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/1d62ae7fafbd2b6a/55aa5ae7b026f400?show_docid=55aa5ae7b026f400</link>
  <description>
  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
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/1d62ae7fafbd2b6a/55aa5ae7b026f400?show_docid=55aa5ae7b026f400</guid>
  <author>
  guilhelm.pana...@gmail.com
  (Guilhelm)
  </author>
  <pubDate>Sun, 15 Nov 2009 20:33:27 UT
</pubDate>
  </item>
  <item>
  <title>Re: Configuring log line format (headers)</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/2b0f6a922cce33e5?show_docid=2b0f6a922cce33e5</link>
  <description>
  Ah brilliant. Works perfectly. Thanks.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/2b0f6a922cce33e5?show_docid=2b0f6a922cce33e5</guid>
  <author>
  pyc...@googlemail.com
  (Richard Lewis)
  </author>
  <pubDate>Fri, 13 Nov 2009 17:29:38 UT
</pubDate>
  </item>
  <item>
  <title>RE: [cherrypy-users] Re: Cherrypy Flex and upload</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/2d5631bebb533374?show_docid=2d5631bebb533374</link>
  <description>
  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.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/2d5631bebb533374?show_docid=2d5631bebb533374</guid>
  <author>
  acoo...@cimtek.com
  (Cooper, Andrew)
  </author>
  <pubDate>Thu, 12 Nov 2009 16:45:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: Cherrypy Flex and upload</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/40c69e2b40af7128?show_docid=40c69e2b40af7128</link>
  <description>
  BTW: the stuff I posted is in addition to turning on the tool noted in &lt;br&gt; Christian&#39;s post.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/40c69e2b40af7128?show_docid=40c69e2b40af7128</guid>
  <author>
  dthomp...@gmail.com
  (limscoder)
  </author>
  <pubDate>Thu, 12 Nov 2009 16:40:52 UT
</pubDate>
  </item>
  <item>
  <title>Re: Cherrypy Flex and upload</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/c969f734722967e4?show_docid=c969f734722967e4</link>
  <description>
  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,
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/c969f734722967e4?show_docid=c969f734722967e4</guid>
  <author>
  dthomp...@gmail.com
  (limscoder)
  </author>
  <pubDate>Thu, 12 Nov 2009 16:34:54 UT
</pubDate>
  </item>
  <item>
  <title>RE: [cherrypy-users] Re: html, rss, atom, Oh My!</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/51e94d483ce8c339?show_docid=51e94d483ce8c339</link>
  <description>
  /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; ...
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/51e94d483ce8c339?show_docid=51e94d483ce8c339</guid>
  <author>
  fuman...@aminus.org
  (Robert Brewer)
  </author>
  <pubDate>Thu, 12 Nov 2009 16:25:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Cherrypy Flex and upload</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/47890d7481ca88a8?show_docid=47890d7481ca88a8</link>
  <description>
  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
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/47890d7481ca88a8?show_docid=47890d7481ca88a8</guid>
  <author>
  christ...@dowski.com
  (Christian Wyglendowski)
  </author>
  <pubDate>Thu, 12 Nov 2009 16:23:04 UT
</pubDate>
  </item>
  <item>
  <title>Cherrypy Flex and upload</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/3129becb9e6c5bf8?show_docid=3129becb9e6c5bf8</link>
  <description>
  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
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/4665cb957a86f499/3129becb9e6c5bf8?show_docid=3129becb9e6c5bf8</guid>
  <author>
  acoo...@cimtek.com
  (Andy)
  </author>
  <pubDate>Thu, 12 Nov 2009 15:50:02 UT
</pubDate>
  </item>
  <item>
  <title>Re: html, rss, atom, Oh My!</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/3ff5fe293eccc44b?show_docid=3ff5fe293eccc44b</link>
  <description>
  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
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/0cad74e0856c0dd0/3ff5fe293eccc44b?show_docid=3ff5fe293eccc44b</guid>
  <author>
  dunde...@gmail.com
  (dundeemt)
  </author>
  <pubDate>Thu, 12 Nov 2009 05:49:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: [cherrypy-users] Configuring log line format (headers)</title>
  <link>http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/e73c24fecc5976f9?show_docid=e73c24fecc5976f9</link>
  <description>
  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;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/cherrypy-users/browse_thread/thread/3febacf790d582e6/e73c24fecc5976f9?show_docid=e73c24fecc5976f9</guid>
  <author>
  je...@notengoamigos.org
  (Jason Earl)
  </author>
  <pubDate>Wed, 11 Nov 2009 00:02:22 UT
</pubDate>
  </item>
  </channel>
</rss>
