Created
September 22, 2010 14:53
-
-
Save manveru/591823 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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