Skip to content
Browse files

Fix matchType references with contentTypeMatch

  • Loading branch information...
1 parent 270ac48 commit c50384cb0c254f51af2b1698a2c669b9fc722211 @jhuckabee jhuckabee committed Aug 11, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 README.md
  2. +1 −1 lib/staticGzip.js
View
4 README.md
@@ -20,7 +20,7 @@ In your express/connect server setup, use as follows:
Options:
-- `matchType` - A regular expression tested against the Content-Type header to determine whether the response should be gzipped or not. The default value is `/text|javascript|json/`.
+- `contentTypeMatch` - A regular expression tested against the Content-Type header to determine whether the response should be gzipped or not. The default value is `/text|javascript|json/`.
- `maxAge` - cache-control max-age directive, defaulting to 1 day
- `clientMaxAge` - browser cache-control max-age directive, defaulting to 1 week
@@ -55,4 +55,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
2 lib/staticGzip.js
@@ -63,7 +63,7 @@ var gzippo = function(filename, charset, callback) {
*
* - `maxAge` cache-control max-age directive, defaulting to 1 day
* - `clientMaxAge` client cache-control max-age directive, defaulting to 1 week
- * - `matchType` - A regular expression tested against the Content-Type header to determine whether the response
+ * - `contentTypeMatch` - A regular expression tested against the Content-Type header to determine whether the response
* should be gzipped or not. The default value is `/text|javascript|json/`.
*
* Examples:

0 comments on commit c50384c

Please sign in to comment.
Something went wrong with that request. Please try again.