CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 25 Jul 2025 09:56:00 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091115170907
location: https://web.archive.org/web/20091115170907/https://github.com/github/ssl_requirement/tree/master
server-timing: captures_list;dur=0.524225, exclusion.robots;dur=0.020136, exclusion.robots.policy;dur=0.010299, esindex;dur=0.009847, cdx.remote;dur=13.373079, LoadShardBlock;dur=262.472888, PetaboxLoader3.datanode;dur=59.221954, PetaboxLoader3.resolve;dur=50.445905
x-app-server: wwwb-app212
x-ts: 302
x-tr: 301
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app212; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Fri, 25 Jul 2025 09:56:01 GMT
content-type: text/html; charset=utf-8
content-length: 106
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 15 Nov 2009 17:09:06 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20091115170907/https://github.com/github/ssl_requirement
x-archive-orig-x-runtime: 4ms
x-archive-orig-content-length: 106
x-archive-orig-cache-control: no-cache
cache-control: max-age=1800
memento-datetime: Sun, 15 Nov 2009 17:09:07 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 04 Jan 2009 00:44:27 GMT", ; rel="prev memento"; datetime="Mon, 05 Jan 2009 08:15:35 GMT", ; rel="memento"; datetime="Sun, 15 Nov 2009 17:09:07 GMT", ; rel="last memento"; datetime="Sun, 15 Nov 2009 17:09:07 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_12_20091115165411_crawl103-c/52_12_20091115170744_crawl101.arc.gz
server-timing: captures_list;dur=0.822504, exclusion.robots;dur=0.030166, exclusion.robots.policy;dur=0.014838, esindex;dur=0.016713, cdx.remote;dur=28.956256, LoadShardBlock;dur=124.622379, PetaboxLoader3.datanode;dur=185.693822, PetaboxLoader3.resolve;dur=206.419415, load_resource;dur=275.303734
x-app-server: wwwb-app212
x-ts: 301
x-tr: 460
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 25 Jul 2025 09:56:02 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 15 Nov 2009 17:09:06 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "51ef0d1b4967d85b7ad0965eaf94b49c"
x-archive-orig-x-runtime: 69ms
x-archive-orig-content-length: 21813
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 15 Nov 2009 17:09:07 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 14 Nov 2009 12:16:47 GMT", ; rel="prev memento"; datetime="Sat, 14 Nov 2009 12:16:47 GMT", ; rel="memento"; datetime="Sun, 15 Nov 2009 17:09:07 GMT", ; rel="next memento"; datetime="Tue, 15 Dec 2009 13:59:18 GMT", ; rel="last memento"; datetime="Sat, 16 Jan 2010 08:45:19 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_12_20091115165411_crawl103-c/52_12_20091115170744_crawl101.arc.gz
server-timing: captures_list;dur=1.482707, exclusion.robots;dur=0.020958, exclusion.robots.policy;dur=0.010492, esindex;dur=0.011570, cdx.remote;dur=13.104844, LoadShardBlock;dur=78.416792, PetaboxLoader3.datanode;dur=210.331747, load_resource;dur=202.898158, PetaboxLoader3.resolve;dur=57.987427
x-app-server: wwwb-app212
x-ts: 200
x-tr: 353
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
github's ssl_requirement at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of pyrat/ssl_requirement | |
Description: | github version of ssl_requirement edit |
Homepage: | https://dev.rubyonrails.org/browser/plugins/ssl_requirement/ edit |
Public Clone URL: |
git://github.com/github/ssl_requirement.git
Give this clone URL to anyone.
git clone git://github.com/github/ssl_requirement.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:github/ssl_requirement.git
|
name | age | message | |
---|---|---|---|
![]() |
README | Thu Apr 17 02:38:50 -0700 2008 | Updated readme [pyrat] |
![]() |
lib/ | Thu Apr 17 02:35:43 -0700 2008 | Init commit of improved plugin [pyrat] |
![]() |
test/ | Thu Apr 17 02:35:43 -0700 2008 | Init commit of improved plugin [pyrat] |
README
SSL Requirement =============== SSL requirement adds a declarative way of specifying that certain actions should only be allowed to run under SSL, and if they're accessed without it, they should be redirected. If the rails_env is test or development the redirection is not performed. Example: class ApplicationController < ActiveRecord::Base include SslRequirement end class AccountController < ApplicationController ssl_required :signup, :payment ssl_allowed :index def signup # Non-SSL access will be redirected to SSL end def payment # Non-SSL access will be redirected to SSL end def index # This action will work either with or without SSL end def other # SSL access will be redirected to non-SSL end end You can overwrite the protected method ssl_required? to rely on other things than just the declarative specification. Say, only premium accounts get SSL. P.S.: Beware when you include the SslRequirement module. At the time of inclusion, it'll add the before_filter that validates the declarations. Some times you'll want to run other before_filters before that. They should then be declared ahead of including this module. Copyright (c) 2005 David Heinemeier Hansson, released under the MIT license
This feature is coming soon. Sit tight!