html-proofer 2.5.1 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/htmlproof +11 -1
- data/lib/html/proofer.rb +1 -0
- data/lib/html/proofer/check_runner.rb +1 -1
- data/lib/html/proofer/checkable.rb +2 -2
- data/lib/html/proofer/checks/links.rb +2 -0
- data/lib/html/proofer/url_validator.rb +14 -3
- data/lib/html/proofer/version.rb +1 -1
- metadata +4 -344
- data/.gitignore +0 -26
- data/.travis.yml +0 -14
- data/Gemfile +0 -3
- data/LICENSE.txt +0 -22
- data/README.md +0 -276
- data/Rakefile +0 -21
- data/html-proofer.gemspec +0 -32
- data/script/bootstrap +0 -5
- data/spec/html/proofer/checkable_spec.rb +0 -47
- data/spec/html/proofer/command_spec.rb +0 -88
- data/spec/html/proofer/favicon_spec.rb +0 -47
- data/spec/html/proofer/fixtures/favicon/favicon_absent.html +0 -4
- data/spec/html/proofer/fixtures/favicon/favicon_absent_apple.html +0 -7
- data/spec/html/proofer/fixtures/favicon/favicon_broken.html +0 -7
- data/spec/html/proofer/fixtures/favicon/favicon_broken_but_ignored.html +0 -7
- data/spec/html/proofer/fixtures/favicon/favicon_present.html +0 -7
- data/spec/html/proofer/fixtures/favicon/favicon_present_shortcut.html +0 -7
- data/spec/html/proofer/fixtures/html/div_inside_head.html +0 -6
- data/spec/html/proofer/fixtures/html/html5_tags.html +0 -9
- data/spec/html/proofer/fixtures/html/ignore_script_embeds.html +0 -3
- data/spec/html/proofer/fixtures/html/invalid_tag.html +0 -3
- data/spec/html/proofer/fixtures/html/missing_closing_quotes.html +0 -5
- data/spec/html/proofer/fixtures/html/opening_and_ending_tag_mismatch.html +0 -7
- data/spec/html/proofer/fixtures/html/svg_elements.html +0 -729
- data/spec/html/proofer/fixtures/html/unescaped_ampersand_in_attribute.html +0 -4
- data/spec/html/proofer/fixtures/html/unmatched_end_tag.html +0 -5
- data/spec/html/proofer/fixtures/images/emptyImageAltText.html +0 -10
- data/spec/html/proofer/fixtures/images/existingImageExternal.html +0 -9
- data/spec/html/proofer/fixtures/images/gpl.png +0 -0
- data/spec/html/proofer/fixtures/images/ignorableAltViaOptions.html +0 -13
- data/spec/html/proofer/fixtures/images/ignorableImages.html +0 -10
- data/spec/html/proofer/fixtures/images/ignoreAltButNotLink.html +0 -13
- data/spec/html/proofer/fixtures/images/image_missing_protocol_invalid.html +0 -9
- data/spec/html/proofer/fixtures/images/image_missing_protocol_valid.html +0 -9
- data/spec/html/proofer/fixtures/images/missingImageAlt.html +0 -9
- data/spec/html/proofer/fixtures/images/missingImageAltText.html +0 -9
- data/spec/html/proofer/fixtures/images/missingImageExternal.html +0 -9
- data/spec/html/proofer/fixtures/images/missingImageInternal.html +0 -9
- data/spec/html/proofer/fixtures/images/missingImageSrc.html +0 -9
- data/spec/html/proofer/fixtures/images/relativeToSelf.html +0 -2
- data/spec/html/proofer/fixtures/images/rootRelativeImages.html +0 -2
- data/spec/html/proofer/fixtures/images/srcSetCheck.html +0 -7
- data/spec/html/proofer/fixtures/images/srcSetIgnorable.html +0 -13
- data/spec/html/proofer/fixtures/images/srcSetMissingAlt.html +0 -7
- data/spec/html/proofer/fixtures/images/srcSetMissingImage.html +0 -7
- data/spec/html/proofer/fixtures/images/terribleImageName.html +0 -9
- data/spec/html/proofer/fixtures/images/workingDataURIImage.html +0 -3
- data/spec/html/proofer/fixtures/links/_site/folder.html/index.html +0 -1
- data/spec/html/proofer/fixtures/links/anchors_in_pre.html +0 -12
- data/spec/html/proofer/fixtures/links/attributeWithDash.html +0 -8
- data/spec/html/proofer/fixtures/links/blank_mailto_link.html +0 -9
- data/spec/html/proofer/fixtures/links/blank_tel_link.html +0 -9
- data/spec/html/proofer/fixtures/links/brokenHashExternal.html +0 -11
- data/spec/html/proofer/fixtures/links/brokenHashInternal.html +0 -14
- data/spec/html/proofer/fixtures/links/brokenHashOnTheWeb.html +0 -2
- data/spec/html/proofer/fixtures/links/brokenInternalLink.html +0 -0
- data/spec/html/proofer/fixtures/links/brokenLinkExternal.html +0 -11
- data/spec/html/proofer/fixtures/links/brokenLinkInternal.html +0 -10
- data/spec/html/proofer/fixtures/links/brokenLinkWithNumber.html +0 -8
- data/spec/html/proofer/fixtures/links/brokenUnixLinks.html +0 -5
- data/spec/html/proofer/fixtures/links/broken_hash_with_query.html +0 -9
- data/spec/html/proofer/fixtures/links/checkSSLLinks.html +0 -1
- data/spec/html/proofer/fixtures/links/check_just_once.html +0 -8
- data/spec/html/proofer/fixtures/links/ensure_typhoeus_options.html +0 -1
- data/spec/html/proofer/fixtures/links/erstiebegr%C3%BC%C3%9Fung.html +0 -0
- data/spec/html/proofer/fixtures/links/erstiebegr/303/274/303/237ung.html +0 -0
- data/spec/html/proofer/fixtures/links/escape_pipes.html +0 -9
- data/spec/html/proofer/fixtures/links/file.foo +0 -11
- data/spec/html/proofer/fixtures/links/folder-php/index.php +0 -2
- data/spec/html/proofer/fixtures/links/folder/anchorLink.html +0 -0
- data/spec/html/proofer/fixtures/links/folder/assets/barrel.png +0 -0
- data/spec/html/proofer/fixtures/links/folder/index.html +0 -0
- data/spec/html/proofer/fixtures/links/folder/multiples/catalog/file.html +0 -8
- data/spec/html/proofer/fixtures/links/folder/multiples/javadoc/file.html +0 -8
- data/spec/html/proofer/fixtures/links/folder/relativeImage.html +0 -2
- data/spec/html/proofer/fixtures/links/githubHash.html +0 -1
- data/spec/html/proofer/fixtures/links/gpl.png +0 -0
- data/spec/html/proofer/fixtures/links/hashReferringToSelf.html +0 -44
- data/spec/html/proofer/fixtures/links/head_link_href.html +0 -7
- data/spec/html/proofer/fixtures/links/head_link_href_absent.html +0 -7
- data/spec/html/proofer/fixtures/links/head_link_href_empty.html +0 -7
- data/spec/html/proofer/fixtures/links/ignorableLinks.html +0 -13
- data/spec/html/proofer/fixtures/links/ignorableLinksViaOptions.html +0 -13
- data/spec/html/proofer/fixtures/links/ignores_cases.html +0 -3
- data/spec/html/proofer/fixtures/links/invalid_mailto_link.html +0 -9
- data/spec/html/proofer/fixtures/links/javascript_link.html +0 -9
- data/spec/html/proofer/fixtures/links/linkToFolder.html +0 -9
- data/spec/html/proofer/fixtures/links/linkTranslatedViaHrefSwap.html +0 -9
- data/spec/html/proofer/fixtures/links/linkWithHttps.html +0 -9
- data/spec/html/proofer/fixtures/links/linkWithRedirect.html +0 -14
- data/spec/html/proofer/fixtures/links/link_directory_without_slash.html +0 -1
- data/spec/html/proofer/fixtures/links/link_missing_protocol_invalid.html +0 -9
- data/spec/html/proofer/fixtures/links/link_missing_protocol_valid.html +0 -9
- data/spec/html/proofer/fixtures/links/link_pointing_to_directory.html +0 -1
- data/spec/html/proofer/fixtures/links/links_in_pre.html +0 -13
- data/spec/html/proofer/fixtures/links/mailto_link.html +0 -9
- data/spec/html/proofer/fixtures/links/missingLinkHref.html +0 -9
- data/spec/html/proofer/fixtures/links/multipleProblems.html +0 -11
- data/spec/html/proofer/fixtures/links/nodupe.html +0 -1
- data/spec/html/proofer/fixtures/links/non_standard_characters.html +0 -10
- data/spec/html/proofer/fixtures/links/notarealhash.html +0 -0
- data/spec/html/proofer/fixtures/links/other_protocols.html +0 -4
- data/spec/html/proofer/fixtures/links/placeholder_with_empty_id.html +0 -1
- data/spec/html/proofer/fixtures/links/placeholder_with_id.html +0 -1
- data/spec/html/proofer/fixtures/links/placeholder_with_name.html +0 -1
- data/spec/html/proofer/fixtures/links/redirected_error.html +0 -1
- data/spec/html/proofer/fixtures/links/relativeLinks.html +0 -4
- data/spec/html/proofer/fixtures/links/rootLink/folder/index.html +0 -1
- data/spec/html/proofer/fixtures/links/rootLink/index.html +0 -1
- data/spec/html/proofer/fixtures/links/rootLink/rootLink.html +0 -9
- data/spec/html/proofer/fixtures/links/tel_link.html +0 -9
- data/spec/html/proofer/fixtures/links/urlencoded-href.html +0 -2
- data/spec/html/proofer/fixtures/links/utf8Link.html +0 -2
- data/spec/html/proofer/fixtures/resources/Screen Shot 2012-08-09 at 7.51.18 AM.png +0 -0
- data/spec/html/proofer/fixtures/resources/books/assets/getting-good-with-git.jpg +0 -0
- data/spec/html/proofer/fixtures/resources/books/assets/pro-git.jpg +0 -0
- data/spec/html/proofer/fixtures/resources/books/assets/version-control-with-git.jpg +0 -0
- data/spec/html/proofer/fixtures/resources/books/nestedRelativeImages.html +0 -5
- data/spec/html/proofer/fixtures/resources/gpl.png +0 -0
- data/spec/html/proofer/fixtures/scripts/ignorableLinksViaOptions.html +0 -4
- data/spec/html/proofer/fixtures/scripts/script.js +0 -1
- data/spec/html/proofer/fixtures/scripts/script_broken_external.html +0 -9
- data/spec/html/proofer/fixtures/scripts/script_content.html +0 -9
- data/spec/html/proofer/fixtures/scripts/script_content_absent.html +0 -9
- data/spec/html/proofer/fixtures/scripts/script_in_pre.html +0 -5
- data/spec/html/proofer/fixtures/scripts/script_missing_internal.html +0 -9
- data/spec/html/proofer/fixtures/scripts/script_valid_internal.html +0 -9
- data/spec/html/proofer/fixtures/sorting/issue/broken_image_one.html +0 -1
- data/spec/html/proofer/fixtures/sorting/issue/broken_image_two.html +0 -4
- data/spec/html/proofer/fixtures/sorting/path/multiple_issues.html +0 -11
- data/spec/html/proofer/fixtures/sorting/path/single_issue.html +0 -1
- data/spec/html/proofer/fixtures/sorting/status/a_404.html +0 -1
- data/spec/html/proofer/fixtures/sorting/status/broken_link.html +0 -3
- data/spec/html/proofer/fixtures/sorting/status/missing_redirect.html +0 -1
- data/spec/html/proofer/fixtures/utils/lang-jp.html +0 -1
- data/spec/html/proofer/fixtures/vcr_cassettes/images/existingImageExternal_html.yml +0 -62
- data/spec/html/proofer/fixtures/vcr_cassettes/images/ignoreAltButNotLink_html_alt_ignore_/_/_.yml +0 -45
- data/spec/html/proofer/fixtures/vcr_cassettes/images/image_missing_protocol_invalid_html.yml +0 -117
- data/spec/html/proofer/fixtures/vcr_cassettes/images/image_missing_protocol_valid_html.yml +0 -62
- data/spec/html/proofer/fixtures/vcr_cassettes/images/missingImageExternal_html.yml +0 -45
- data/spec/html/proofer/fixtures/vcr_cassettes/links/attributeWithDash_html.yml +0 -73
- data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenHashOnTheWeb_html.yml +0 -56
- data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenHashOnTheWeb_html_check_external_hash_true_.yml +0 -719
- data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenHashOnTheWeb_html_only_4xx_true_.yml +0 -56
- data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenLinkExternal_html.yml +0 -96
- data/spec/html/proofer/fixtures/vcr_cassettes/links/brokenUnixLinks_html.yml +0 -156
- data/spec/html/proofer/fixtures/vcr_cassettes/links/checkSSLLinks_html.yml +0 -50
- data/spec/html/proofer/fixtures/vcr_cassettes/links/check_just_once_html.yml +0 -87
- data/spec/html/proofer/fixtures/vcr_cassettes/links/ensure_typhoeus_options_html_typhoeus_ssl_verifypeer_false_.yml +0 -40
- data/spec/html/proofer/fixtures/vcr_cassettes/links/escape_pipes_html.yml +0 -52
- data/spec/html/proofer/fixtures/vcr_cassettes/links/file_foo_ext_foo_.yml +0 -96
- data/spec/html/proofer/fixtures/vcr_cassettes/links/githubHash_html.yml +0 -73
- data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithHttps_html.yml +0 -73
- data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithRedirect_html.yml +0 -236
- data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithRedirect_html_only_4xx_true_typhoeus_followlocation_false_.yml +0 -318
- data/spec/html/proofer/fixtures/vcr_cassettes/links/linkWithRedirect_html_typhoeus_followlocation_false_.yml +0 -318
- data/spec/html/proofer/fixtures/vcr_cassettes/links/link_missing_protocol_invalid_html.yml +0 -45
- data/spec/html/proofer/fixtures/vcr_cassettes/links/link_missing_protocol_valid_html.yml +0 -73
- data/spec/html/proofer/fixtures/vcr_cassettes/links/nodupe_html.yml +0 -182
- data/spec/html/proofer/fixtures/vcr_cassettes/links/non_standard_characters_html.yml +0 -113
- data/spec/html/proofer/fixtures/vcr_cassettes/links/redirected_error_html.yml +0 -1044
- data/spec/html/proofer/fixtures/vcr_cassettes/links/utf8Link_html.yml +0 -113
- data/spec/html/proofer/fixtures/vcr_cassettes/scripts/script_broken_external_html.yml +0 -45
- data/spec/html/proofer/fixtures/vcr_cassettes/sorting/status_typhoeus_followlocation_false_error_sort_status_.yml +0 -244
- data/spec/html/proofer/fixtures/vcr_cassettes/sorting/status_verbosity_info_typhoeus_followlocation_false_error_sort_status_.yml +0 -244
- data/spec/html/proofer/fixtures/vcr_cassettes/www_garbalarba_com_href_swap_/garbalarba/_github_.yml +0 -73
- data/spec/html/proofer/fixtures/vcr_cassettes/www_github_com_foofoofoo_biz.yml +0 -115
- data/spec/html/proofer/html_spec.rb +0 -64
- data/spec/html/proofer/images_spec.rb +0 -147
- data/spec/html/proofer/links_spec.rb +0 -376
- data/spec/html/proofer/scripts_spec.rb +0 -46
- data/spec/html/proofer/utils_spec.rb +0 -14
- data/spec/html/proofer_spec.rb +0 -122
- data/spec/spec_helper.rb +0 -75
@@ -1 +0,0 @@
|
|
1
|
-
<img src="./gpl.png" />
|
@@ -1 +0,0 @@
|
|
1
|
-
<img src="./Screen Shot 2012-08-09 at 7.51.18 AM.png" alt="textbox"/>
|
@@ -1 +0,0 @@
|
|
1
|
-
<img alt="An existing image" src="//upload.wikimedia.org/wikipedia/en/thumb/not_here.png" />
|
@@ -1 +0,0 @@
|
|
1
|
-
<a href="https://help.github.com/changing-author-info/">This is another redirect.</a>
|
@@ -1 +0,0 @@
|
|
1
|
-
<html lang="jp">
|
@@ -1,62 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: head
|
5
|
-
uri: http://upload.wikimedia.org/wikipedia/en/thumb/2/22/Heckert_GNU_white.svg/256px-Heckert_GNU_white.svg.png
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- nginx/1.9.2
|
19
|
-
Date:
|
20
|
-
- Mon, 06 Jul 2015 05:07:46 GMT
|
21
|
-
Content-Type:
|
22
|
-
- image/png
|
23
|
-
Content-Length:
|
24
|
-
- '27063'
|
25
|
-
Connection:
|
26
|
-
- keep-alive
|
27
|
-
X-Object-Meta-Sha1base36:
|
28
|
-
- mm95ioarmv2n0yvfyg4czr9qxzhf44v
|
29
|
-
Last-Modified:
|
30
|
-
- Fri, 18 Oct 2013 02:15:06 GMT
|
31
|
-
Etag:
|
32
|
-
- b02df8baa52837645bd58a219be4d9dc
|
33
|
-
X-Timestamp:
|
34
|
-
- '1382062505.22715'
|
35
|
-
X-Trans-Id:
|
36
|
-
- txe81e86cdeba44675ac9e2-00559a0458
|
37
|
-
X-Varnish:
|
38
|
-
- 2210500677 2206883823, 3151289350 3151285732
|
39
|
-
Via:
|
40
|
-
- 1.1 varnish, 1.1 varnish
|
41
|
-
Accept-Ranges:
|
42
|
-
- bytes
|
43
|
-
Age:
|
44
|
-
- '2250'
|
45
|
-
X-Cache:
|
46
|
-
- cp1061 hit (7), cp1072 frontend hit (1)
|
47
|
-
Strict-Transport-Security:
|
48
|
-
- max-age=31536000
|
49
|
-
Access-Control-Allow-Origin:
|
50
|
-
- "*"
|
51
|
-
Access-Control-Expose-Headers:
|
52
|
-
- Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache, X-Varnish
|
53
|
-
Timing-Allow-Origin:
|
54
|
-
- "*"
|
55
|
-
body:
|
56
|
-
encoding: UTF-8
|
57
|
-
string: ''
|
58
|
-
http_version: '1.1'
|
59
|
-
adapter_metadata:
|
60
|
-
effective_url: https://upload.wikimedia.org/wikipedia/en/thumb/2/22/Heckert_GNU_white.svg/256px-Heckert_GNU_white.svg.png
|
61
|
-
recorded_at: Mon, 06 Jul 2015 05:07:46 GMT
|
62
|
-
recorded_with: VCR 2.9.3
|
data/spec/html/proofer/fixtures/vcr_cassettes/images/ignoreAltButNotLink_html_alt_ignore_/_/_.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: head
|
5
|
-
uri: http://www.kakakakakaakkakakakakakakaakakak.biz.foo.net/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 0
|
15
|
-
message:
|
16
|
-
headers: {}
|
17
|
-
body:
|
18
|
-
encoding: UTF-8
|
19
|
-
string: ''
|
20
|
-
http_version:
|
21
|
-
adapter_metadata:
|
22
|
-
effective_url: http://www.kakakakakaakkakakakakakakaakakak.biz.foo.net/
|
23
|
-
recorded_at: Mon, 06 Jul 2015 05:07:39 GMT
|
24
|
-
- request:
|
25
|
-
method: get
|
26
|
-
uri: http://www.kakakakakaakkakakakakakakaakakak.biz.foo.net/
|
27
|
-
body:
|
28
|
-
encoding: US-ASCII
|
29
|
-
string: ''
|
30
|
-
headers:
|
31
|
-
User-Agent:
|
32
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
33
|
-
response:
|
34
|
-
status:
|
35
|
-
code: 0
|
36
|
-
message:
|
37
|
-
headers: {}
|
38
|
-
body:
|
39
|
-
encoding: UTF-8
|
40
|
-
string: ''
|
41
|
-
http_version:
|
42
|
-
adapter_metadata:
|
43
|
-
effective_url: http://www.kakakakakaakkakakakakakakaakakak.biz.foo.net/
|
44
|
-
recorded_at: Mon, 06 Jul 2015 05:07:39 GMT
|
45
|
-
recorded_with: VCR 2.9.3
|
data/spec/html/proofer/fixtures/vcr_cassettes/images/image_missing_protocol_invalid_html.yml
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: head
|
5
|
-
uri: http://upload.wikimedia.org/wikipedia/en/thumb/fooooof.png
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 404
|
15
|
-
message: Not Found
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- nginx/1.9.2
|
19
|
-
Date:
|
20
|
-
- Mon, 06 Jul 2015 05:07:40 GMT
|
21
|
-
Content-Type:
|
22
|
-
- text/html; charset=UTF-8
|
23
|
-
Content-Length:
|
24
|
-
- '225'
|
25
|
-
Connection:
|
26
|
-
- keep-alive
|
27
|
-
X-Trans-Id:
|
28
|
-
- tx98122b2ce400416787ffa-00559a0d1c
|
29
|
-
X-Varnish:
|
30
|
-
- 1571621725, 2249256766
|
31
|
-
Via:
|
32
|
-
- 1.1 varnish, 1.1 varnish
|
33
|
-
Accept-Ranges:
|
34
|
-
- bytes
|
35
|
-
Age:
|
36
|
-
- '0'
|
37
|
-
X-Cache:
|
38
|
-
- cp1099 miss (0), cp1063 frontend miss (0)
|
39
|
-
Strict-Transport-Security:
|
40
|
-
- max-age=31536000
|
41
|
-
Access-Control-Allow-Origin:
|
42
|
-
- "*"
|
43
|
-
Access-Control-Expose-Headers:
|
44
|
-
- Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache, X-Varnish
|
45
|
-
Timing-Allow-Origin:
|
46
|
-
- "*"
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: ''
|
50
|
-
http_version: '1.1'
|
51
|
-
adapter_metadata:
|
52
|
-
effective_url: https://upload.wikimedia.org/wikipedia/en/thumb/fooooof.png
|
53
|
-
recorded_at: Mon, 06 Jul 2015 05:07:41 GMT
|
54
|
-
- request:
|
55
|
-
method: get
|
56
|
-
uri: http://upload.wikimedia.org/wikipedia/en/thumb/fooooof.png
|
57
|
-
body:
|
58
|
-
encoding: US-ASCII
|
59
|
-
string: ''
|
60
|
-
headers:
|
61
|
-
User-Agent:
|
62
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
63
|
-
response:
|
64
|
-
status:
|
65
|
-
code: 404
|
66
|
-
message: Not Found
|
67
|
-
headers:
|
68
|
-
Server:
|
69
|
-
- nginx/1.9.2
|
70
|
-
Date:
|
71
|
-
- Mon, 06 Jul 2015 05:07:41 GMT
|
72
|
-
Content-Type:
|
73
|
-
- text/html; charset=UTF-8
|
74
|
-
Content-Length:
|
75
|
-
- '225'
|
76
|
-
Connection:
|
77
|
-
- keep-alive
|
78
|
-
X-Trans-Id:
|
79
|
-
- tx98122b2ce400416787ffa-00559a0d1c
|
80
|
-
X-Varnish:
|
81
|
-
- 1571621725, 2249257000 2249256766
|
82
|
-
Via:
|
83
|
-
- 1.1 varnish, 1.1 varnish
|
84
|
-
Accept-Ranges:
|
85
|
-
- bytes
|
86
|
-
Age:
|
87
|
-
- '0'
|
88
|
-
X-Cache:
|
89
|
-
- cp1099 miss (0), cp1063 frontend hit (1)
|
90
|
-
Strict-Transport-Security:
|
91
|
-
- max-age=31536000
|
92
|
-
Access-Control-Allow-Origin:
|
93
|
-
- "*"
|
94
|
-
Access-Control-Expose-Headers:
|
95
|
-
- Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache, X-Varnish
|
96
|
-
Timing-Allow-Origin:
|
97
|
-
- "*"
|
98
|
-
body:
|
99
|
-
encoding: UTF-8
|
100
|
-
string: |-
|
101
|
-
<html>
|
102
|
-
<head>
|
103
|
-
<title>404 Not Found</title>
|
104
|
-
</head>
|
105
|
-
<body>
|
106
|
-
<h1>404 Not Found</h1>
|
107
|
-
The resource could not be found.<br /><br />
|
108
|
-
Regexp failed to match URI: "/wikipedia/en/thumb/fooooof.png"
|
109
|
-
|
110
|
-
|
111
|
-
</body>
|
112
|
-
</html>
|
113
|
-
http_version: '1.1'
|
114
|
-
adapter_metadata:
|
115
|
-
effective_url: https://upload.wikimedia.org/wikipedia/en/thumb/fooooof.png
|
116
|
-
recorded_at: Mon, 06 Jul 2015 05:07:41 GMT
|
117
|
-
recorded_with: VCR 2.9.3
|
@@ -1,62 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: head
|
5
|
-
uri: http://upload.wikimedia.org/wikipedia/en/thumb/2/22/Heckert_GNU_white.svg/256px-Heckert_GNU_white.svg.png
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- nginx/1.9.2
|
19
|
-
Date:
|
20
|
-
- Mon, 06 Jul 2015 05:07:45 GMT
|
21
|
-
Content-Type:
|
22
|
-
- image/png
|
23
|
-
Content-Length:
|
24
|
-
- '27063'
|
25
|
-
Connection:
|
26
|
-
- keep-alive
|
27
|
-
X-Object-Meta-Sha1base36:
|
28
|
-
- mm95ioarmv2n0yvfyg4czr9qxzhf44v
|
29
|
-
Last-Modified:
|
30
|
-
- Fri, 18 Oct 2013 02:15:06 GMT
|
31
|
-
Etag:
|
32
|
-
- b02df8baa52837645bd58a219be4d9dc
|
33
|
-
X-Timestamp:
|
34
|
-
- '1382062505.22715'
|
35
|
-
X-Trans-Id:
|
36
|
-
- txe81e86cdeba44675ac9e2-00559a0458
|
37
|
-
X-Varnish:
|
38
|
-
- 2210500677 2206883823, 3151285732
|
39
|
-
Via:
|
40
|
-
- 1.1 varnish, 1.1 varnish
|
41
|
-
Accept-Ranges:
|
42
|
-
- bytes
|
43
|
-
Age:
|
44
|
-
- '2249'
|
45
|
-
X-Cache:
|
46
|
-
- cp1061 hit (7), cp1072 frontend miss (0)
|
47
|
-
Strict-Transport-Security:
|
48
|
-
- max-age=31536000
|
49
|
-
Access-Control-Allow-Origin:
|
50
|
-
- "*"
|
51
|
-
Access-Control-Expose-Headers:
|
52
|
-
- Age, Date, Content-Length, Content-Range, X-Content-Duration, X-Cache, X-Varnish
|
53
|
-
Timing-Allow-Origin:
|
54
|
-
- "*"
|
55
|
-
body:
|
56
|
-
encoding: UTF-8
|
57
|
-
string: ''
|
58
|
-
http_version: '1.1'
|
59
|
-
adapter_metadata:
|
60
|
-
effective_url: https://upload.wikimedia.org/wikipedia/en/thumb/2/22/Heckert_GNU_white.svg/256px-Heckert_GNU_white.svg.png
|
61
|
-
recorded_at: Mon, 06 Jul 2015 05:07:45 GMT
|
62
|
-
recorded_with: VCR 2.9.3
|
@@ -1,45 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: head
|
5
|
-
uri: http://www.whatthehell/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 0
|
15
|
-
message:
|
16
|
-
headers: {}
|
17
|
-
body:
|
18
|
-
encoding: UTF-8
|
19
|
-
string: ''
|
20
|
-
http_version:
|
21
|
-
adapter_metadata:
|
22
|
-
effective_url: http://www.whatthehell/
|
23
|
-
recorded_at: Mon, 06 Jul 2015 05:07:38 GMT
|
24
|
-
- request:
|
25
|
-
method: get
|
26
|
-
uri: http://www.whatthehell/
|
27
|
-
body:
|
28
|
-
encoding: US-ASCII
|
29
|
-
string: ''
|
30
|
-
headers:
|
31
|
-
User-Agent:
|
32
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
33
|
-
response:
|
34
|
-
status:
|
35
|
-
code: 0
|
36
|
-
message:
|
37
|
-
headers: {}
|
38
|
-
body:
|
39
|
-
encoding: UTF-8
|
40
|
-
string: ''
|
41
|
-
http_version:
|
42
|
-
adapter_metadata:
|
43
|
-
effective_url: http://www.whatthehell/
|
44
|
-
recorded_at: Mon, 06 Jul 2015 05:07:38 GMT
|
45
|
-
recorded_with: VCR 2.9.3
|
@@ -1,73 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: head
|
5
|
-
uri: https://www.github.com/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Mozilla/5.0 (compatible; HTML Proofer/2.3.0; +https://github.com/gjtorikian/html-proofer)
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
Server:
|
18
|
-
- GitHub.com
|
19
|
-
Date:
|
20
|
-
- Mon, 06 Jul 2015 05:08:02 GMT
|
21
|
-
Content-Type:
|
22
|
-
- text/html; charset=utf-8
|
23
|
-
Status:
|
24
|
-
- 200 OK
|
25
|
-
Content-Security-Policy:
|
26
|
-
- 'default-src *; script-src assets-cdn.github.com collector-cdn.github.com;
|
27
|
-
object-src assets-cdn.github.com; style-src ''self'' ''unsafe-inline'' ''unsafe-eval''
|
28
|
-
assets-cdn.github.com; img-src ''self'' data: assets-cdn.github.com identicons.github.com
|
29
|
-
www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com
|
30
|
-
*.wp.com; media-src ''none''; frame-src ''self'' render.githubusercontent.com
|
31
|
-
gist.github.com www.youtube.com player.vimeo.com checkout.paypal.com; font-src
|
32
|
-
assets-cdn.github.com; connect-src ''self'' live.github.com wss://live.github.com
|
33
|
-
uploads.github.com status.github.com api.github.com www.google-analytics.com
|
34
|
-
github-cloud.s3.amazonaws.com'
|
35
|
-
Public-Key-Pins:
|
36
|
-
- max-age=300; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="JbQbUG5JMJUoI6brnx0x3vZF6jilxsapbXGVfjhN8Fg=";
|
37
|
-
includeSubDomains
|
38
|
-
Cache-Control:
|
39
|
-
- no-cache
|
40
|
-
Vary:
|
41
|
-
- X-PJAX
|
42
|
-
- Accept-Encoding
|
43
|
-
X-UA-Compatible:
|
44
|
-
- IE=Edge,chrome=1
|
45
|
-
Set-Cookie:
|
46
|
-
- logged_in=no; domain=.github.com; path=/; expires=Fri, 06 Jul 2035 05:08:02
|
47
|
-
-0000; secure; HttpOnly
|
48
|
-
- _gh_sess=eyJzZXNzaW9uX2lkIjoiY2U4Y2IyMDhkM2E2Yjc4NTg3MzM0ZDEwNzBkMDFmN2IiLCJfY3NyZl90b2tlbiI6IjlJcHF0SWpPeFM3cjE1YUkweU5RYXV6U2NzMjNUWVlKWmJUTVR1Mkk2QTA9In0%3D--af10616e692afd5adc68e78eaa83a62058eba5f3;
|
49
|
-
path=/; secure; HttpOnly
|
50
|
-
X-Request-Id:
|
51
|
-
- 0693874d7f11b9cfedbad92cf407b1d7
|
52
|
-
X-Runtime:
|
53
|
-
- '0.010570'
|
54
|
-
X-GitHub-Request-Id:
|
55
|
-
- 490F8465:3100:515F75:559A0D31
|
56
|
-
Strict-Transport-Security:
|
57
|
-
- max-age=31536000; includeSubdomains; preload
|
58
|
-
X-Content-Type-Options:
|
59
|
-
- nosniff
|
60
|
-
X-XSS-Protection:
|
61
|
-
- 1; mode=block
|
62
|
-
X-Frame-Options:
|
63
|
-
- deny
|
64
|
-
X-Served-By:
|
65
|
-
- 1c0ce1a213af16e49d5419559ef44f50
|
66
|
-
body:
|
67
|
-
encoding: UTF-8
|
68
|
-
string: ''
|
69
|
-
http_version: '1.1'
|
70
|
-
adapter_metadata:
|
71
|
-
effective_url: https://github.com/
|
72
|
-
recorded_at: Mon, 06 Jul 2015 05:08:02 GMT
|
73
|
-
recorded_with: VCR 2.9.3
|