From a90d9236b8f98c56495c8293dc600b57a4181114 Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Sat, 17 Sep 2011 15:15:19 -0700 Subject: [PATCH] fix typo --- README.rdoc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.rdoc b/README.rdoc index a0c5317c..fb5c8278 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1018,13 +1018,12 @@ try {rack-cache}[http://rtomayko.github.com/rack-cache/]: Use the :static_cache_control setting (see below) to add Cache-Control header info to static files. -According to RFC 2616 your application should behave differently if the -If-Matches of If-None-Matches header is set to * depending on whether -the resource requested is already in existence. Sinatra assumes resources for -safe (like get) and idempotent (like put) requests are already in existence, -whereas other resources (for instance for post requests), are treated as new -resources. You can change this behavior by passing in a :new_resource -option: +According to RFC 2616 your application should behave differently if the If-Match +of If-None-Match header is set to * depending on whether the resource +requested is already in existence. Sinatra assumes resources for safe (like get) +and idempotent (like put) requests are already in existence, whereas other +resources (for instance for post requests), are treated as new resources. You +can change this behavior by passing in a :new_resource option: get '/create' do etag '', :new_resource => true