Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename HTTP.rfc1123_date to HTTP.format_date
The date format used for HTTP applications (such as cookies) according to [RFC 2612](https://tools.ietf.org/html/rfc2616#section-3.3.1) is *not* an arbitrary [RFC 1123](https://tools.ietf.org/html/rfc1123#page-55) string but has a fixed timezone `GMT`. Therefore it is not the same as `Time#to_rfc2822` and the method should not be called `rfc1123_date`.
- Loading branch information
1 parent
4244a91
commit 558d19e
Showing
3 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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