<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sinatra Basic Authentication &#8211; Selectively Applied</title>
	<atom:link href="http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/</link>
	<description>eval("eval(\"eval(\\\"puts 'a ruby weblog'\\\")\")")</description>
	<lastBuildDate>Mon, 30 Aug 2010 18:42:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rafael Souza</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-75</link>
		<dc:creator>Rafael Souza</dc:creator>
		<pubDate>Sun, 26 Oct 2008 02:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-75</guid>
		<description>Hi,

How can I logout user using HTTP authentication?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How can I logout user using <span class="caps">HTTP</span>&nbsp;authentication?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cschneid</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-44</link>
		<dc:creator>cschneid</dc:creator>
		<pubDate>Thu, 07 Aug 2008 23:18:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-44</guid>
		<description>ben, I am going to have to put this up on a pastie or something, since wordpress keeps messing with the formatting of certain entities mainly &gt; and &amp;.    Just remove the semi colon and move on.</description>
		<content:encoded><![CDATA[<p>ben, I am going to have to put this up on a pastie or something, since wordpress keeps messing with the formatting of certain entities mainly > and &#038;.    Just remove the semi colon and move&nbsp;on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-43</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Thu, 07 Aug 2008 23:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-43</guid>
		<description>hi

This doesn&#039;t work for me

$ ruby privatestuff.rb 
privatestuff.rb:1:in `require&#039;: ./authorization.rb:9: syntax error, unexpected &#039;;&#039; (SyntaxError)
    header &#039;WWW-Authenticate&#039; =&gt;; %(Basic realm=&quot;#{realm}&quot;)
                                 ^      from privatestuff.rb:1
//
on ubuntu 8.04, ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>This doesn&#8217;t work for&nbsp;me</p>
<p>$ ruby privatestuff.rb<br />
privatestuff.rb:1:in `require&#8217;: ./authorization.rb:9: syntax error, unexpected &#8216;;&#8217; (SyntaxError)<br />
    header &#8216;<span class="caps">WWW</span>-Authenticate&#8217; =&gt;; %(Basic realm=&#8221;#{realm}&#8221;)<br />
                                 ^      from privatestuff.rb:1<br />
//<br />
on ubuntu 8.04, ruby 1.8.6 (2007-09-24 patchlevel 111)&nbsp;[i486-linux]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cschneid</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-42</link>
		<dc:creator>cschneid</dc:creator>
		<pubDate>Tue, 05 Aug 2008 01:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-42</guid>
		<description>tolas: that&#039;s wordpress being very dumb.  Sorry about that.</description>
		<content:encoded><![CDATA[<p>tolas: that&#8217;s wordpress being very dumb.  Sorry about&nbsp;that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tolas</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-41</link>
		<dc:creator>tolas</dc:creator>
		<pubDate>Tue, 05 Aug 2008 01:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-41</guid>
		<description>woops.. accidentally put an open span element in the last comment.

ment to say &quot;span elements&quot;</description>
		<content:encoded><![CDATA[<p>woops.. accidentally put an open span element in the last&nbsp;comment.</p>
<p>ment to say &#8220;span&nbsp;elements&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tolas</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-40</link>
		<dc:creator>tolas</dc:creator>
		<pubDate>Tue, 05 Aug 2008 01:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-40</guid>
		<description>I&#039;m a bit confused, how can those  elements not be in a string?

Also, the first line of unauthorized! is giving me problems.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a bit confused, how can those  elements not be in a&nbsp;string?</p>
<p>Also, the first line of unauthorized! is giving me&nbsp;problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leethal</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-33</link>
		<dc:creator>leethal</dc:creator>
		<pubDate>Fri, 18 Jul 2008 06:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-33</guid>
		<description>Oh yeah! Rack is full of gems, it seems.</description>
		<content:encoded><![CDATA[<p>Oh yeah! Rack is full of gems, it&nbsp;seems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolás Sanguinetti</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-basic-authentication-selectively-applied/comment-page-1/#comment-32</link>
		<dc:creator>Nicolás Sanguinetti</dc:creator>
		<pubDate>Fri, 18 Jul 2008 03:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=42#comment-32</guid>
		<description>I&#039;d extract the credentials array into a separate method in the module. That way it can be overridden in the helpers block to allow people to include the module without the need to modify it :)</description>
		<content:encoded><![CDATA[<p>I&#8217;d extract the credentials array into a separate method in the module. That way it can be overridden in the helpers block to allow people to include the module without the need to modify it&nbsp;:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
