diff --git a/lib/api-versions/version_check.rb b/lib/api-versions/version_check.rb
index <HASH>..<HASH> 100644
--- a/lib/api-versions/version_check.rb
+++ b/lib/api-versions/version_check.rb
@@ -13,7 +13,7 @@ module ApiVersions
     private
 
     def accepts_proper_format?(request)
-      request.headers['Accept'] =~ /\Aapplication\/vnd\.#{self.class.vendor_string}\+.+/
+      request.headers['Accept'] =~ /\Aapplication\/vnd\.#{self.class.vendor_string}\s*\+\s*.+/
     end
 
     def matches_version?(request)
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -93,7 +93,7 @@ describe 'API Routing' do
     end
 
     it "should allow spacing around the plus" do
-      merge_and_stub new_api_bar_path, 'get', 'Accept' => 'application/vnd.myvendor+xml; version=1'
+      merge_and_stub new_api_bar_path, 'get', 'Accept' => 'application/vnd.myvendor + xml; version=1'
     end
   end
 end
Spaces around the + are supposed to be acceptable.