Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ gem 'cgi'

And then execute:

$ bundle
```bash
bundle
```

Or install it yourself as:

$ gem install cgi
```bash
gem install cgi
```

## Usage

Expand Down Expand Up @@ -73,7 +77,6 @@ db.transaction do
end
```


### Restore form values from file

```ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/cgi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# The file CGI::Session provides session management functionality; see that
# class for more details.
#
# See http://www.w3.org/CGI/ for more information on the CGI protocol.
# See https://www.w3.org/CGI/ for more information on the CGI protocol.
#
# == Introduction
#
Expand Down
2 changes: 1 addition & 1 deletion lib/cgi/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def params=(hash)

##
# Parses multipart form elements according to
# http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2
# https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2
#
# Returns a hash of multipart form parameters with bodies of type StringIO or
# Tempfile depending on whether the multipart form element exceeds 10 KB
Expand Down