<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,21 +33,13 @@ or another site entirely.
 The flow of requests during a redirect is:
 Browser --&gt; Server (redirect to '/') --&gt; Browser (request '/') --&gt; Server (result for '/')
 
-Sinatra sends a 302 response code as a redirect by default. According to the
-spec, 302 shouldn't change the request method, but you can see a note saying
-that most clients do change it. Apparently the mobile browser that person was
-using did things correctly (instead of the mainstream misinterpretation).
-
-The fix for this in the spec is 2 different response codes: 303 
-and 307. 303 resets to GET, 307 keeps the same method.
-
 To force Sinatra to send a different response code, it's very simple:
 
     redirect '/', 303 # forces the 303 return code
      
     redirect '/', 307 # forces the 307 return code
 
-sessions
+Sessions
 --------
 
 ### Default Cookie Based Sessions
@@ -103,9 +95,9 @@ Lets first look at the simple use case:
 
 Setting a path, expiration date, or domain gets a little more complicated - see the source code for set\_cookie if you want to dig deeper.
 
-    set_cookie(&quot;thing&quot;, { :domain =&gt; myDomain,
-                          :path =&gt; myPath,
-                          :expires =&gt; Date.new } )
+    set_cookie(&quot;thing&quot;, :domain =&gt; myDomain,
+                        :path =&gt; myPath,
+                        :expires =&gt; Date.new)
 
 That's the easy stuff with cookies - It can also serialize Array objects,
 separating them with ampersands (&amp;), but when they come back, it doesn't</diff>
      <filename>book/Handlers.markdown</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>14f44b311470eead8f2b51b8d83e36fd02bd701f</id>
    </parent>
  </parents>
  <author>
    <name>Nicolas Sanguinetti</name>
    <email>contacto@nicolassanguinetti.info</email>
  </author>
  <url>http://github.com/cschneid/sinatra-book/commit/01aafb08c3c80895127efbdf6ee853b0a89f8a33</url>
  <id>01aafb08c3c80895127efbdf6ee853b0a89f8a33</id>
  <committed-date>2009-01-09T06:02:25-08:00</committed-date>
  <authored-date>2009-01-09T05:58:19-08:00</authored-date>
  <message>Remove text that comes from copying from gittr and doesn't make much sense out of context.

Signed-off-by: Scott Wisely &lt;syd@scrimfind.org&gt;</message>
  <tree>963257246fb69243f0c3cb0398c1b7138a3f691b</tree>
  <committer>
    <name>Scott Wisely</name>
    <email>syd@scrimfind.org</email>
  </committer>
</commit>
