Skip to content

Instantly share code, notes, and snippets.

@manveru
Created September 22, 2010 14:53
Show Gist options
  • Save manveru/591823 to your computer and use it in GitHub Desktop.
Save manveru/591823 to your computer and use it in GitHub Desktop.
diff --git a/lib/rack/sendfile.rb b/lib/rack/sendfile.rb
index 177f452..19cfd74 100644
--- a/lib/rack/sendfile.rb
+++ b/lib/rack/sendfile.rb
@@ -47,8 +47,8 @@ module Rack
# }
#
# Note that the X-Sendfile-Type header must be set exactly as shown above. The
- # X-Accel-Mapping header should specify the name of the private URL pattern,
- # followed by an equals sign (=), followed by the location on the file system
+ # X-Accel-Mapping header should specify the by the location on the file system,
+ # followed by an equals sign (=), followed name of the private URL pattern
# that it maps to. The middleware performs a simple substitution on the
# resulting path.
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment