summary refs log tree commit
diff options
context:
space:
mode:
authorAlexander Shemetovsky <alexkval@gmail.com>2017-08-10 21:06:11 +0300
committerGitHub <noreply@github.com>2017-08-10 21:06:11 +0300
commit593b6f984310baf13dc34ef825cfe1fe1428fd47 (patch)
tree0d76df8af93eab8112d01ccb3a066e72152f5751
parentcb00d24c473ae476bdec3fc122babb33bb9ab4fc (diff)
downloadrack-593b6f984310baf13dc34ef825cfe1fe1428fd47.tar.gz
Fix typos
-rw-r--r--lib/rack/request.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rack/request.rb b/lib/rack/request.rb
index 2a00de70..29ede9fb 100644
--- a/lib/rack/request.rb
+++ b/lib/rack/request.rb
@@ -98,7 +98,7 @@ module Rack
 
     module Helpers
       # The set of form-data media-types. Requests that do not indicate
-      # one of the media types presents in this list will not be eligible
+      # one of the media types presented in this list will not be eligible
       # for form-data / param parsing.
       FORM_DATA_MEDIA_TYPES = [
         'application/x-www-form-urlencoded',
@@ -106,7 +106,7 @@ module Rack
       ]
 
       # The set of media-types. Requests that do not indicate
-      # one of the media types presents in this list will not be eligible
+      # one of the media types presented in this list will not be eligible
       # for param parsing like soap attachments or generic multiparts
       PARSEABLE_DATA_MEDIA_TYPES = [
         'multipart/related',
@@ -157,10 +157,10 @@ module Rack
       def delete?;  request_method == DELETE  end
 
       # Checks the HTTP request method (or verb) to see if it was of type GET
-      def get?;     request_method == GET       end
+      def get?;     request_method == GET     end
 
       # Checks the HTTP request method (or verb) to see if it was of type HEAD
-      def head?;    request_method == HEAD      end
+      def head?;    request_method == HEAD    end
 
       # Checks the HTTP request method (or verb) to see if it was of type OPTIONS
       def options?; request_method == OPTIONS end