archivist-client 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,109 +2,134 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://archive.org/advancedsearch.php?fl%5B0%5D=identifier&fl%5B1%5D=title&fl%5B2%5D=creator&fl%5B3%5D=date&fl%5B4%5D=language&fl%5B5%5D=mediattype&output=json&page=1&q=mediatype:texts%20AND%20-mediatype:collection%20AND%20(language:eng%20OR%20language:English)%20AND%20date:%5B1500-01-01%20TO%201550-12-31%5D&rows=50&sort%5B0%5D=date%20asc
5
+ uri: http://archive.org/advancedsearch.php?fl%5B%5D=creator&fl%5B%5D=date&fl%5B%5D=identifier&fl%5B%5D=language&fl%5B%5D=mediattype&fl%5B%5D=title&output=json&page=1&q=mediatype:texts%20AND%20-mediatype:collection%20AND%20(language:eng%20OR%20language:English)%20AND%20date:%5B1500-01-01%20TO%201550-12-31%5D&rows=50&sort%5B%5D=date%20asc
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Faraday v0.8.8
11
+ - Faraday v0.14.0
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
15
- - ! '*/*'
15
+ - "*/*"
16
16
  response:
17
17
  status:
18
18
  code: 200
19
- message: !binary |-
20
- T0s=
19
+ message: OK
21
20
  headers:
22
- !binary "U2VydmVy":
23
- - !binary |-
24
- bmdpbngvMS4xLjE5
25
- !binary "RGF0ZQ==":
26
- - !binary |-
27
- V2VkLCAwNiBOb3YgMjAxMyAwMzoxMDowMyBHTVQ=
28
- !binary "Q29udGVudC1UeXBl":
29
- - !binary |-
30
- YXBwbGljYXRpb24vanNvbg==
31
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
32
- - !binary |-
33
- Y2h1bmtlZA==
34
- !binary "Q29ubmVjdGlvbg==":
35
- - !binary |-
36
- a2VlcC1hbGl2ZQ==
37
- !binary "WC1Qb3dlcmVkLUJ5":
38
- - !binary |-
39
- UEhQLzUuMy4xMC0xdWJ1bnR1My4y
40
- !binary "Q29udGVudC1FbmNvZGluZw==":
41
- - !binary |-
42
- Z3ppcA==
21
+ Server:
22
+ - nginx/1.4.6 (Ubuntu)
23
+ Date:
24
+ - Mon, 05 Mar 2018 04:54:24 GMT
25
+ Content-Type:
26
+ - application/json
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
43
31
  body:
44
- encoding: ASCII-8BIT
45
- string: !binary |-
46
- H4sIAAAAAAAAA9Va224byRH9lQYfggQYKkNSpC55WMiSHa3hi2IpWSCCsGjO
47
- 9HDanuke90XUrOEn/0i+IYt8gV/9UTnVMyQ1FCPaC1jRAoJETt+qq05VnarR
48
- h54RttLKilPBU2F6hx961nHnbe8wjnp/u5Cl6B0O8LHihpd4+qH31mq1MzdZ
49
- 77DXi3rvpcKHUqSSu7oSh07cOMuOXp2w/uphootCJE5qFUb+WHA183wmDoWa
50
- sddv2PL7UzUrpM3/FKal3InDy8E4jvvxAD/s4jUbjMdxfzDsjwZXODwrcLZM
51
- hXIyk8JETrpCRIkR3GkT0fposXXUSEMyYqHVxmEpzWDcJngiFW3T3AkaCMMx
52
- 3e/bb7e6zv+4Htt8v4s4Pgw//+zedPWc7jwnIckG+Gz0HCbpjePex4/41pqS
53
- jKR8+Ux7lfYORwNct7kQzJjqBCsuP/SCqrD23FdVIUrcnTnNjnVZCpMIZkQF
54
- FVl2yFIui5olwIgvuGFcpcwZYGU5RVrrRcqmNXO5YE88tO+ZztgzbYScqbDi
55
- RJfCOpksD4jYiQCkXDgYkxcH41JkFAgGu5PR8bO6P0ZX1sYcuxTe6fFwcDAY
56
- D72SDtMWZsdde7BC7yrqtbCgJ3/HJIh8DqQLu3P4tUL3rj5GK80dKeV5wd4E
57
- TdGFw/U1Nyl9OZEGiNfGLkZelzzn7MxPC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- 1eeY6MPVx4//BfDUIWmcIwAA
32
+ encoding: UTF-8
33
+ string: '{"responseHeader":{"status":0,"QTime":51,"params":{"query":"mediatype:texts
34
+ AND -mediatype:collection AND ( language:eng OR language:English ) AND date:[1500-01-01T00\\:00\\:00Z
35
+ TO 1550-12-31T23\\:59\\:59Z]","qin":"mediatype:texts AND -mediatype:collection
36
+ AND (language:eng OR language:English) AND date:[1500-01-01 TO 1550-12-31]","fields":"identifier,title,creator,date,language,mediattype","wt":"json","sort":"date
37
+ asc","rows":"50","start":0}},"response":{"numFound":241,"start":0,"docs":[{"creator":"Savonarola,
38
+ Hieronymus","date":"1500-01-01T00:00:00Z","identifier":"ita-bnc-in1-00000134-001","language":"English","title":"Expositio
39
+ in Psalmum L (51) \"Miserere mei Deus\""},{"creator":"Lichtenberger, Johannes","date":"1500-01-01T00:00:00Z","identifier":"ita-bnc-in2-00001797-001","language":"English","title":"Prognosticatio"},{"creator":"Berris
40
+ Tres Riches Heures","date":"1500-01-01T00:00:00Z","identifier":"in.ernet.dli.2015.233866","language":"eng","title":"The
41
+ Rise Of Modern Europe(vol1)"},{"creator":"BURTON","date":"1500-01-01T00:00:00Z","identifier":"NewRichTextDocument_20170225","language":"eng","title":"New
42
+ Rich Text Document"},{"creator":"Aurelius Prudentius Clemens","date":"1501-01-01T00:00:00Z","identifier":"bub_gb_tNMb8PrO5yAC","language":"English","title":"Prudentii
43
+ poetae opera. Virtutum cum uitiis pugna, heroico carmine.. Prudentii poetae
44
+ opera. Virtutum cum uitiis pugna, heroico carmine. Hymni diurnarum rerum,
45
+ ad Gallicantum. Ad matutinum. Ante cibum. Post cibum. Ad lucernae accensionem.
46
+ Ante somnum .."},{"creator":"United States.: Bureau of Foreign and Domestic
47
+ Commerce","date":"1501-01-01T00:00:00Z","identifier":"supplementto5219152unit","language":"eng","title":"Supplement
48
+ to Commerce reports : daily consular and trade reports issued by the Bureau
49
+ of Foreign and Domestic Commerce, Department of Commerce"},{"creator":"Stephanus
50
+ (Byzantinus)","date":"1502-01-01T00:00:00Z","identifier":"bub_gb_1x5DAAAAcAAJ","language":"English","title":"Stephanos
51
+ Peri pole\u014dn De urbibus"},{"creator":["Worde, Wynkyn de, -1534?, printer","Tomkinson,
52
+ Michael, 1841-1921, former owner","Boule, Joannis, former owner"],"date":"1502-01-01T00:00:00Z","identifier":"chronycleofenglo00word","language":"eng","title":"Chronycle
53
+ of Englonde"},{"creator":"Lorenzo Astemio","date":"1502-01-01T00:00:00Z","identifier":"bub_gb_bopSAAAAcAAJ","language":"English","title":"Epaminundae
54
+ clarissimi Thebanorum ducis vita"},{"date":"1503-01-01T00:00:00Z","identifier":"bub_gb_ERBmAAAAcAAJ","language":"English","title":"Augustini
55
+ dati senensis opera. Edited by Girolamo Dati."},{"creator":"Archimedes","date":"1503-01-01T00:00:00Z","identifier":"bub_gb_9fNPAAAAcAAJ","language":"English","title":"Tetragonismus"},{"creator":"Xenophon","date":"1503-01-01T00:00:00Z","identifier":"bub_gb_UQ2ed0bfxt8C","language":"English","title":"Xenophontis
56
+ omissa quae & graeca gesta appellantur"},{"creator":"Xenophon","date":"1503-01-01T00:00:00Z","identifier":"bub_gb_RWb2TbT9BwkC","language":"English","title":"Xenophontis
57
+ omissa quae & graeca gesta appellantur"},{"creator":"Philoponus, John","date":"1504-01-01T00:00:00Z","identifier":"ita-bnc-ald-00000803-001","language":"English","title":"In
58
+ posteriora resolutoria Aristotelis commentaria"},{"creator":"T W Arnold","date":"1504-01-01T00:00:00Z","identifier":"in.ernet.dli.2015.169486","language":"eng","title":"The
59
+ Little Flowers Of S Francis Of Assisi"},{"date":"1506-01-01T00:00:00Z","identifier":"bub_gb_aI5mAAAAcAAJ","language":"English","title":"Alexandri
60
+ Achillini bononiensis de intelligentiis"},{"creator":"British Record Society","date":"1508-01-01T00:00:00Z","identifier":"indexlibrary8150brit_0","language":"eng","title":"The
61
+ Index library"},{"creator":["Page, William, 1861-1934","Huguenot Society of
62
+ London"],"date":"1509-01-01T00:00:00Z","identifier":"lettersofdenizat8150page","language":"eng","title":"Letters
63
+ of denization and acts of naturalization for aliens in England, 1509-1603"},{"creator":"United
64
+ States.: Bureau of Foreign and Domestic Commerce","date":"1509-01-01T00:00:00Z","identifier":"supplementto65191823unit","language":"eng","title":"Supplement
65
+ to Commerce reports : daily consular and trade reports issued by the Bureau
66
+ of Foreign and Domestic Commerce, Department of Commerce"},{"creator":"The
67
+ Cresset Press,london","date":"1509-01-01T00:00:00Z","identifier":"in.ernet.dli.2015.182336","language":"eng","title":"The
68
+ Beghinnings Of English Literature To Skelton"},{"creator":"British Record
69
+ Society","date":"1510-01-01T00:00:00Z","identifier":"indexlibrary1151brit_0","language":"eng","title":"The
70
+ Index library"},{"creator":"Antoninus (Florentinus)","date":"1511-01-01T00:00:00Z","identifier":"bub_gb_7w1KAAAAcAAJ","language":"English","title":"Tractatus
71
+ de censuris ecclesiasticis Item tractatus de sponsalibus & matrimoniis"},{"creator":"Helwig,
72
+ Andreas","date":"1512-01-01T00:00:00Z","identifier":"antichristusromanus","language":"eng","title":"Antichristus
73
+ Romanus"},{"creator":"Plat\u00f3n","date":"1513-01-01T00:00:00Z","identifier":"bub_gb_D9EFQicVLJMC_2","language":"English","title":"Apanta
74
+ ta tou Platonos"},{"creator":["Whittington, Robert, -approximately 1560","Negro,
75
+ Pescennio Francesco, 1452-","Worde, Wynkyn de, -1534? printer","Littlefield,
76
+ George Emery, 1844-1915, former owner","Shillaber, William Green, former owner","Leigh,
77
+ Chandos, 1791-1850, former owner"],"date":"1513-01-01T00:00:00Z","identifier":"robertiwhittinto00whit","language":"eng","title":"Roberti
78
+ whittintoni lichfeldiensis editio : secunda pars grammatices : De sillaba
79
+ et eius quantitate .."},{"date":"1514-01-01T00:00:00Z","identifier":"bub_gb_3ONLAAAAcAAJ","language":"English","title":"Erkl\u00e4rung
80
+ Entscheid und entlicher vortrag in den Irrungen zwischen der Geistlichkeit
81
+ und der Stadt Speier 1514"},{"creator":"Georg Peurbach","date":"1514-01-01T00:00:00Z","identifier":"bub_gb_SRYkk0MwYvQC","language":"English","title":"Tabulae
82
+ eclypsium magistri Georgij Peurbachij. Tabula primi mobilis Ioannis de Monteregio.
83
+ Indices praeterea monumentorum quae clarissimi uiri studii Viennensis alumni
84
+ in astronomia & aliis mathematicis disciplinis scripta reliquerunt. .."},{"creator":"British
85
+ Record Society","date":"1514-01-01T00:00:00Z","identifier":"indexlibrary1615brit_0","language":"eng","title":"The
86
+ Index library"},{"creator":"Macer Floridus , Macer, Odo , Aemilius Macer","date":"1515-01-01T00:00:00Z","identifier":"herbarumvariasq00macegoog","language":"eng","title":"Herbarum
87
+ varias qui vis cognoscere vires: huc Macer adest, quo duce doctor eris"},{"creator":"British
88
+ Record Society","date":"1516-01-01T00:00:00Z","identifier":"indexlibrary7151brit_0","language":"eng","title":"The
89
+ Index library"},{"creator":"Libanio","date":"1517-01-01T00:00:00Z","identifier":"bub_gb_qPzCHRlM5tEC","language":"English","title":"Libaniou
90
+ sophistou Meletai logoi te kai ekphraseis"},{"creator":"Aristides retore (retore)","date":"1517-01-01T00:00:00Z","identifier":"bub_gb_lFTiWgNN41kC","language":"English","title":"Logoi
91
+ Aristeidou. Orationes Aristidis"},{"creator":"United States.: Bureau of Foreign
92
+ and Domestic Commerce","date":"1517-01-01T00:00:00Z","identifier":"supplementtoc19191820unit","language":"eng","title":"Supplement
93
+ to Commerce reports : daily consular and trade reports issued by the Bureau
94
+ of Foreign and Domestic Commerce, Department of Commerce"},{"creator":["Llull,
95
+ Ramon, 1232?-1316","Lavinheta, Bernardus de"],"date":"1517-01-01T00:00:00Z","identifier":"illuminatisacrep00llul","language":"eng","title":"Illuminati
96
+ sacre pagine p.fessoris amplissimi magistri Raymundi Lull. Ars magna, generalis
97
+ et vltima : quarucunq3 artium [et] scientiarum ipsius Lull. assecutrix et
98
+ clauigera : [et] ad eas aditum faciliore prebes, antehac nusq3 arti impressorie
99
+ emuctius c\u00f5mendata"},{"creator":["Llull, Ramon, 1232?-1316","Lavinheta,
100
+ Bernardus de"],"date":"1517-01-01T00:00:00Z","identifier":"gri_c00033125008263424","language":"eng","title":"Illuminati
101
+ sacre pagine p.fessoris amplissimi magistri Raymundi Lull. Ars magna, generalis
102
+ et vltima : quaru\u0303cunq3 artium [et] scientiarum ipsius Lull. assecutrix
103
+ et clauigera : [et] ad eas aditum faciliore\u0303 prebe\u0303s, antehac nusq\u03033
104
+ arti impressorie emu\u0303ctius co\u0303mendata"},{"date":"1518-01-01T00:00:00Z","identifier":"bub_gb_yVjXiO4WphEC","language":"English","title":"Commentarii
105
+ in septem tragedias Sophoclis quae ex aliis eius compluribus iniuria temporum
106
+ amissis, solae superfuerunt opus exactissimum rarissimumque in Gymnasio Mediceo
107
+ ... recognitum repurgatumque .."},{"creator":"Jakob Mennel","date":"1518-01-01T00:00:00Z","identifier":"bub_gb_qkpTAAAAcAAJ","language":"English","title":"De
108
+ inclito atque apud Germanos rarissimo actu ecclesiastico Kalend. Augusti Auguste,
109
+ celebrato anno domini 1518"},{"creator":"Ulrich Zasius","date":"1519-01-01T00:00:00Z","identifier":"bub_gb_4EpTAAAAcAAJ","language":"English","title":"Oratio
110
+ Friburgi in funere Maximiliani Imp. habita"},{"creator":"Aristoteles","date":"1519-01-01T00:00:00Z","identifier":"bub_gb_rzHa0ZmorUkC","language":"English","title":"Aristotelis
111
+ Tres de anima libri per Joannem Argyropylum e greco in latinum traducti"},{"creator":"Jakob
112
+ Sprenger","date":"1519-01-01T00:00:00Z","identifier":"bub_gb_TTg8AAAAcAAJ","language":"English","title":"Malleus
113
+ maleficarum"},{"creator":"Martin Luther","date":"1520-01-01T00:00:00Z","identifier":"bub_gb_L1ZdAAAAcAAJ","language":"English","title":"Ein
114
+ Sermon von dem n\u00fcwen Testament das ist von der heiligen Me\u00df"},{"creator":"\u00c9tienne
115
+ de La Roche","date":"1520-01-01T00:00:00Z","identifier":"bub_gb_9xg8AAAAcAAJ","language":"English","title":"L''
116
+ arismethique nouellement composee"},{"creator":"Carver, Robert","date":"1520-01-01T00:00:00Z","identifier":"imslp-bone-jesu--19-carver-robert","language":"English","title":"O
117
+ bone Jesu \u00e0 19"},{"creator":"Ferdinando Ponzetti","date":"1521-01-01T00:00:00Z","identifier":"bub_gb_QghTAAAAcAAJ","language":"English","title":"Summa
118
+ brevis Theologiae"},{"creator":["[London]Printed for the Chetham society,","Bradshaw,
119
+ Henry, d. 1513","Hawkins, Edward, 1780-1867, ed"],"date":"1521-01-01T00:00:00Z","identifier":"holylyfehistoryo00lond","language":"eng","title":"The
120
+ holy lyfe and history of Saynt Werburge,very frutefull for all Christen people
121
+ to rede."},{"date":"1521-01-01T00:00:00Z","identifier":"passyonsicofourl00rivi","language":"eng","title":"The
122
+ passyon of our lorde"},{"creator":"Apollonius : Rhodius","date":"1521-01-01T00:00:00Z","identifier":"bub_gb_iZYX7VSahu8C","language":"English","title":"Apolloniou
123
+ tou rodiou Argonautika, meta t\u014dn palai\u014dn te, kai panu \u014dphelimon
124
+ scholi\u014dn. Apollonij rhodij Argonautica, antiquis una, & optimis cum commentarijs"},{"creator":["Bradshaw,
125
+ Henry, d. 1513","Hawkins, Edward, 1780-1867, ed"],"date":"1521-01-01T00:00:00Z","identifier":"holylyfeandhist00hawkgoog","language":["eng","lat"],"title":"The
126
+ holy lyfe and history of Saynt Werburge, very frutefull for all Christen people
127
+ to rede"},{"creator":"Andrew, Laurence","date":"1521-01-01T00:00:00Z","identifier":"hin-wel-all-00001107-001","language":"eng","title":"The
128
+ noble lyfe & natures of man, of bestes, serpentys, fowles & fisshes yt be
129
+ moste knowen / [Laurence Andrew]"},{"creator":["Bradshaw, Henry, d. 1513","Hawkins,
130
+ Edward, 1780-1867, ed"],"date":"1521-01-01T00:00:00Z","identifier":"holylyfeandhist02hawkgoog","language":["eng","lat"],"title":"The
131
+ holy lyfe and history of Saynt Werburge, very frutefull for all Christen people
132
+ to rede"}]}}'
108
133
  http_version:
109
- recorded_at: Wed, 06 Nov 2013 03:10:04 GMT
110
- recorded_with: VCR 2.2.5
134
+ recorded_at: Mon, 05 Mar 2018 04:54:24 GMT
135
+ recorded_with: VCR 4.0.0
@@ -11,7 +11,7 @@ describe Archivist::Representation::Document do
11
11
 
12
12
  it "has properties" do
13
13
  rep.title.should == "Document"
14
- rep.languages.should == ["eng"]
14
+ rep.language.should == "eng"
15
15
  rep.date.should == Date.new(1501, 1, 1)
16
16
  end
17
17
  end
@@ -23,6 +23,6 @@ describe Archivist::Representation::QueryResponse do
23
23
  end
24
24
 
25
25
  it "has docs" do
26
- rep.body.docs.first.languages.should == ["eng"]
26
+ rep.body.docs.first.language.should == ["eng"]
27
27
  end
28
- end
28
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'vcr'
2
+ require 'pry'
2
3
 
3
4
  # For code coverage, must be required before all application / gem / library code.
4
5
  require 'coveralls'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archivist-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duane Johnson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-01 00:00:00.000000000 Z
12
+ date: 2018-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -259,7 +259,6 @@ files:
259
259
  - spec/fixtures/download_files.xml
260
260
  - spec/fixtures/query-response.json
261
261
  - spec/fixtures/vcr/download.yml
262
- - spec/fixtures/vcr/links.yml
263
262
  - spec/fixtures/vcr/search.yml
264
263
  - spec/models/body_spec.rb
265
264
  - spec/models/document_spec.rb
@@ -292,26 +291,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
291
  version: '0'
293
292
  requirements: []
294
293
  rubyforge_project:
295
- rubygems_version: 2.6.8
294
+ rubygems_version: 2.7.7
296
295
  signing_key:
297
296
  specification_version: 4
298
297
  summary: archivist-client is an archive.org client library
299
298
  test_files:
299
+ - spec/spec_helper.rb
300
+ - spec/representations/query_response_spec.rb
301
+ - spec/representations/format_index_spec.rb
302
+ - spec/representations/document_spec.rb
300
303
  - spec/client_spec.rb
301
- - spec/fixtures/document.json
302
- - spec/fixtures/download_files.xml
303
- - spec/fixtures/query-response.json
304
- - spec/fixtures/vcr/download.yml
305
- - spec/fixtures/vcr/links.yml
306
- - spec/fixtures/vcr/search.yml
304
+ - spec/models/query_response_spec.rb
305
+ - spec/models/parameters_spec.rb
306
+ - spec/models/header_spec.rb
307
307
  - spec/models/body_spec.rb
308
- - spec/models/document_spec.rb
309
308
  - spec/models/file_format_spec.rb
310
309
  - spec/models/format_index_spec.rb
311
- - spec/models/header_spec.rb
312
- - spec/models/parameters_spec.rb
313
- - spec/models/query_response_spec.rb
314
- - spec/representations/document_spec.rb
315
- - spec/representations/format_index_spec.rb
316
- - spec/representations/query_response_spec.rb
317
- - spec/spec_helper.rb
310
+ - spec/models/document_spec.rb
311
+ - spec/fixtures/download_files.xml
312
+ - spec/fixtures/query-response.json
313
+ - spec/fixtures/vcr/search.yml
314
+ - spec/fixtures/vcr/download.yml
315
+ - spec/fixtures/document.json
@@ -1,127 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://archive.org/download/firstbooknapole00gruagoog/firstbooknapole00gruagoog_files.xml
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - Faraday v0.8.8
12
- Accept-Encoding:
13
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
- Accept:
15
- - ! '*/*'
16
- response:
17
- status:
18
- code: 302
19
- message: Moved Temporarily
20
- headers:
21
- Server:
22
- - nginx/1.1.19
23
- Date:
24
- - Thu, 07 Nov 2013 03:22:15 GMT
25
- Content-Type:
26
- - text/html; charset=UTF-8
27
- Transfer-Encoding:
28
- - chunked
29
- Connection:
30
- - keep-alive
31
- X-Powered-By:
32
- - PHP/5.3.10-1ubuntu3.2
33
- Accept-Ranges:
34
- - bytes
35
- Location:
36
- - http://ia700307.us.archive.org/23/items/firstbooknapole00gruagoog/firstbooknapole00gruagoog_files.xml
37
- body:
38
- encoding: US-ASCII
39
- string: ''
40
- http_version:
41
- recorded_at: Thu, 07 Nov 2013 03:22:15 GMT
42
- - request:
43
- method: get
44
- uri: http://ia700307.us.archive.org/23/items/firstbooknapole00gruagoog/firstbooknapole00gruagoog_files.xml
45
- body:
46
- encoding: US-ASCII
47
- string: ''
48
- headers:
49
- User-Agent:
50
- - Faraday v0.8.8
51
- Accept-Encoding:
52
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
- Accept:
54
- - ! '*/*'
55
- response:
56
- status:
57
- code: 200
58
- message: !binary |-
59
- T0s=
60
- headers:
61
- !binary "U2VydmVy":
62
- - !binary |-
63
- bmdpbngvMS4xLjE5
64
- !binary "RGF0ZQ==":
65
- - !binary |-
66
- VGh1LCAwNyBOb3YgMjAxMyAwMzoyMjoxNSBHTVQ=
67
- !binary "Q29udGVudC1UeXBl":
68
- - !binary |-
69
- dGV4dC94bWw=
70
- !binary "TGFzdC1Nb2RpZmllZA==":
71
- - !binary |-
72
- RnJpLCAxOSBOb3YgMjAxMCAwMzowNTozNyBHTVQ=
73
- !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
74
- - !binary |-
75
- Y2h1bmtlZA==
76
- !binary "Q29ubmVjdGlvbg==":
77
- - !binary |-
78
- a2VlcC1hbGl2ZQ==
79
- !binary "RXhwaXJlcw==":
80
- - !binary |-
81
- VGh1LCAwNyBOb3YgMjAxMyAwOToyMjoxNSBHTVQ=
82
- !binary "Q2FjaGUtQ29udHJvbA==":
83
- - !binary |-
84
- bWF4LWFnZT0yMTYwMA==
85
- !binary "Q29udGVudC1FbmNvZGluZw==":
86
- - !binary |-
87
- Z3ppcA==
88
- body:
89
- encoding: ASCII-8BIT
90
- string: !binary |-
91
- H4sIAAAAAAAAA61Y2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PnPQ3wazKOeTrNqXN1eXFxlJZ0b1LZiXp2nIQ3LqnsBBmmKUaekyjE
109
- yYmwV0e4knwH6kZ7qTQUe0tHiElKXO8SEgfdTkqTKkYFkTLCzkxyqXgfpXUS
110
- Ek96Q84PlOzuoClPwPx81MCIAOY3lxeHk/tXah0SpFpxpViwgrRlpQB2CKWH
111
- r0kp7OJ2VWuuzC615kh8D9JvgZxKslblXSDD3QQlUSCDdg4WSDkjM1PGFA2n
112
- lDTgjqoUpNmRMlIptgJ5Wd4elcPLYSX0q/FoRs0oTzrvX+9DuvUxV19z/6J6
113
- y/4fcDT9cem/mxvM8ajfn2Hu6n5Co1l/XA/fbXduZze3szNMz93PtBmccfnq
114
- xzuY0H+MHU5Hn77/ZUbNReb88/3HVYq0x6+ZIgmfZxw4vwb60hZ56bQX1TPt
115
- skWYVcpX5q+L1NIWrfY+tkUyeG9QRFF0mA5JB8+95gxuh5MSOa+TZh4zV4SX
116
- nsMJORIQLmW4VjFbCc3iOrtCRRtWKnEWBfnBFkVkLffVaj3UnwNzrD8X99mP
117
- 2YoDeyvI62//3l59ujo4x7r1jFWM1uyQiTq4oCFfzjqTBPyjhyWXKgc0AArP
118
- tadQSw+XuB6XeXi5RHmvqVDtcEuCFheecoTh2VU9kEI21erCZTGkGRfMoC2A
119
- f1UqWm/QNnjLBI5bon8Uwhut1C8QvrvtfHr798EQ95eeaw/MhfGglUUTAOfh
120
- lQHmFIVHd1VUBix7YBa2hmDeCazlFCQOl8LMFs7WKDSRFhx/4OPSDyWl0GMI
121
- wwLgRaHKMGIJfQPklCllc45JiiSOr9Jzlj2RxYfj+0sPpHTMmrR2jEklmYOP
122
- VLJ4pVASUZvByD34yio+W/hKqdBCISpb+MLSa56qnG3hawo0Qit0EcFEzpUQ
123
- GVXYCpk4ygvqSy0asMPH83j+BmHTbB74TgANUCogCF4LOEqWeGYobGRkFPAQ
124
- js9vbwHVMsvav3hz8R/MlD5c6RAAAA==
125
- http_version:
126
- recorded_at: Thu, 07 Nov 2013 03:22:16 GMT
127
- recorded_with: VCR 2.2.5