<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@ converts them to Ruby objects when appropiate. Also, it converts
 the request method from the Facebook POST to the original HTTP
 method used by the client.
 
-If the signature is wrong, it returns a &quot;404 Invalid Facebook Signature&quot;.
+If the signature is wrong, it returns a &quot;400 Invalid Facebook Signature&quot;.
 
 Optionally, it can take a block that receives the Rack environment
 and returns a value that evaluates to true when we want the middleware to</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ module Rack
   # the request method from the Facebook POST to the original HTTP
   # method used by the client.
   #
-  # If the signature is wrong, it returns a &quot;404 Invalid Facebook Signature&quot;.
+  # If the signature is wrong, it returns a &quot;400 Invalid Facebook Signature&quot;.
   # 
   # Optionally, it can take a block that receives the Rack environment
   # and returns a value that evaluates to true when we want the middleware to
@@ -35,7 +35,7 @@ module Rack
         req = Rack::Request.new(env)
         fb_params = extract_fb_sig_params(req.POST)
         unless signature_is_valid?(fb_params, req.POST['fb_sig'])
-          return [404, {&quot;Content-Type&quot; =&gt; &quot;text/html&quot;}, [&quot;Invalid Facebook signature&quot;]]
+          return [400, {&quot;Content-Type&quot; =&gt; &quot;text/html&quot;}, [&quot;Invalid Facebook signature&quot;]]
         end
         env['REQUEST_METHOD'] = fb_params[&quot;request_method&quot;]
         convert_parameters!(req.POST)</diff>
      <filename>lib/rack/facebook.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ require 'rack/facebook'
 describe Rack::Facebook do
   describe 'without a block' do
     describe 'when the fb_sig is not valid' do
-      it 'should return 404 Invalid Facebook signature'
+      it 'should return 400 Invalid Facebook signature'
     end
     
     describe 'when the fb_sig is valid' do</diff>
      <filename>spec/rack-facebook_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>56edc6c702a45b4e7f679d4fc9e82613089ac6d9</id>
    </parent>
  </parents>
  <author>
    <name>Carlos Paramio</name>
    <email>carlosparamio@gmail.com</email>
  </author>
  <url>http://github.com/mislav/rack-facebook/commit/b19cd41e42f8bd8f30b0ee29be8c1b9f97202482</url>
  <id>b19cd41e42f8bd8f30b0ee29be8c1b9f97202482</id>
  <committed-date>2009-01-09T05:00:41-08:00</committed-date>
  <authored-date>2009-01-09T05:00:41-08:00</authored-date>
  <message>change http status code for bad requests to 400</message>
  <tree>a781e6fb89550e69e1eaa85dc5667110c1567491</tree>
  <committer>
    <name>Carlos Paramio</name>
    <email>carlosparamio@gmail.com</email>
  </committer>
</commit>
