diff options
author | Nathaniel Suchy <me@lunorian.is> | 2019-03-05 22:00:45 -0500 |
---|---|---|
committer | Nathaniel Suchy <me@lunorian.is> | 2019-03-06 15:21:07 -0500 |
commit | d9f1cc05b586f747b679f2aa73b57be364f0fd49 (patch) | |
tree | dc1210aabd2b3ca162483cd513a34bcaf301050e /guides/source/api_app.md | |
parent | b366be3b5b28f01c8a55d67a5161ec36f53d555c (diff) | |
download | rails-d9f1cc05b586f747b679f2aa73b57be364f0fd49.tar.gz rails-d9f1cc05b586f747b679f2aa73b57be364f0fd49.tar.bz2 rails-d9f1cc05b586f747b679f2aa73b57be364f0fd49.zip |
Update links and code examples in the guides to use HTTPS where the host supports it.
Diffstat (limited to 'guides/source/api_app.md')
-rw-r--r-- | guides/source/api_app.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md index 870f5f7b87..b8b6cb7874 100644 --- a/guides/source/api_app.md +++ b/guides/source/api_app.md @@ -76,7 +76,7 @@ Handled at the middleware layer: - Conditional GETs: Rails handles conditional `GET` (`ETag` and `Last-Modified`) processing request headers and returning the correct response headers and status code. All you need to do is use the - [`stale?`](http://api.rubyonrails.org/classes/ActionController/ConditionalGet.html#method-i-stale-3F) + [`stale?`](https://api.rubyonrails.org/classes/ActionController/ConditionalGet.html#method-i-stale-3F) check in your controller, and Rails will handle all of the HTTP details for you. - HEAD requests: Rails will transparently convert `HEAD` requests into `GET` ones, and return just the headers on the way out. This makes `HEAD` work reliably in @@ -287,7 +287,7 @@ environment's configuration file. You can learn more about how to use `Rack::Sendfile` with popular front-ends in [the Rack::Sendfile -documentation](http://rubydoc.info/github/rack/rack/master/Rack/Sendfile). +documentation](https://www.rubydoc.info/github/rack/rack/master/Rack/Sendfile). Here are some values for this header for some popular servers, once these servers are configured to support accelerated file sending: |