triannon-client 0.2.1.pre.0.rc1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/lib/triannon-client/triannon_client.rb +3 -3
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trig_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/trix_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/n3_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/cannot_get_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +46 -46
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +34 -34
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +33 -33
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/ld_json_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-quads_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/n-triples_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_json_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_n3_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/rdf_xml_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trig_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/trix_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/turtle_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-ld_json_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-trig_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_application/x-turtle_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/n3_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/rdf_turtle_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/turtle_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_content_type_text/x-nquads_.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_empty_string_ID.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/requests_an_open_annotation_by_ID_accepting_a_default_JSON-LD_content.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_for_a_500_server_response.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +40 -335
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml +46 -46
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +42 -42
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +46 -46
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/deletes_an_open_annotation_that_exists.yml +34 -34
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/fails_to_delete_an_open_annotation_that_does_NOT_exist.yml +8 -8
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_false_for_a_500_response_to_a_DELETE_request.yml +4 -4
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_200_response_to_a_DELETE_request.yml +4 -4
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_202_response_to_a_DELETE_request.yml +4 -4
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_204_response_to_a_DELETE_request.yml +4 -4
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +4 -4
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +16 -16
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +16 -16
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +44 -44
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/{_annotation_uri → _annotation_uris}/returns_an_RDF_URI_that_is_a_valid_URI.yml +34 -34
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/{_annotation_uri/returns_an_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml → _annotation_uris/returns_an_array_of_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml} +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +38 -38
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +26 -26
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +26 -26
- data/spec/lib/triannon-client/triannon_client_spec.rb +7 -6
- data/triannon-client.gemspec +1 -1
- metadata +6 -6
@@ -31,13 +31,13 @@ http_interactions:
|
|
31
31
|
Cache-Control:
|
32
32
|
- no-cache
|
33
33
|
X-Request-Id:
|
34
|
-
-
|
34
|
+
- 9a75223d-f0c7-4007-a873-5f5d6a8edd28
|
35
35
|
X-Runtime:
|
36
|
-
- '0.
|
36
|
+
- '0.002780'
|
37
37
|
Server:
|
38
38
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
39
39
|
Date:
|
40
|
-
-
|
40
|
+
- Wed, 13 May 2015 22:29:45 GMT
|
41
41
|
Content-Length:
|
42
42
|
- '94'
|
43
43
|
Connection:
|
@@ -46,7 +46,7 @@ http_interactions:
|
|
46
46
|
encoding: UTF-8
|
47
47
|
string: <html><body>You are being <a href="http://localhost:3000/search">redirected</a>.</body></html>
|
48
48
|
http_version:
|
49
|
-
recorded_at:
|
49
|
+
recorded_at: Wed, 13 May 2015 22:29:45 GMT
|
50
50
|
- request:
|
51
51
|
method: get
|
52
52
|
uri: http://localhost:3000/search
|
@@ -80,13 +80,13 @@ http_interactions:
|
|
80
80
|
Cache-Control:
|
81
81
|
- max-age=0, private, must-revalidate
|
82
82
|
X-Request-Id:
|
83
|
-
-
|
83
|
+
- 57173340-9679-476e-a463-1c4a3392587c
|
84
84
|
X-Runtime:
|
85
|
-
- '0.
|
85
|
+
- '0.008884'
|
86
86
|
Server:
|
87
87
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
88
88
|
Date:
|
89
|
-
-
|
89
|
+
- Wed, 13 May 2015 22:29:45 GMT
|
90
90
|
Content-Length:
|
91
91
|
- '181'
|
92
92
|
Connection:
|
@@ -95,7 +95,7 @@ http_interactions:
|
|
95
95
|
encoding: UTF-8
|
96
96
|
string: '{"@context":"http://iiif.io/api/presentation/2/context.json","@type":"sc:AnnotationList","within":{"@type":"sc:Layer","total":0},"resources":[],"@id":"http://localhost:3000/search"}'
|
97
97
|
http_version:
|
98
|
-
recorded_at:
|
98
|
+
recorded_at: Wed, 13 May 2015 22:29:45 GMT
|
99
99
|
- request:
|
100
100
|
method: get
|
101
101
|
uri: http://iiif.io/api/presentation/2/context.json
|
@@ -115,11 +115,11 @@ http_interactions:
|
|
115
115
|
message: OK
|
116
116
|
headers:
|
117
117
|
Date:
|
118
|
-
-
|
118
|
+
- Wed, 13 May 2015 22:32:26 GMT
|
119
119
|
Server:
|
120
120
|
- Apache/2.2.15 (Red Hat)
|
121
121
|
Last-Modified:
|
122
|
-
-
|
122
|
+
- Wed, 13 May 2015 19:46:47 GMT
|
123
123
|
Accept-Ranges:
|
124
124
|
- bytes
|
125
125
|
Content-Length:
|
@@ -127,7 +127,7 @@ http_interactions:
|
|
127
127
|
Cache-Control:
|
128
128
|
- max-age=86400
|
129
129
|
Expires:
|
130
|
-
-
|
130
|
+
- Thu, 14 May 2015 22:32:26 GMT
|
131
131
|
Content-Type:
|
132
132
|
- application/ld+json
|
133
133
|
Access-Control-Allow-Origin:
|
@@ -193,7 +193,7 @@ http_interactions:
|
|
193
193
|
\ \"language\": {\"@id\": \"dc:language\"},\n\t\t \"value\": {\"@id\":
|
194
194
|
\"rdf:value\"},\n\t\t \"label\": {\"@id\": \"rdfs:label\"}\n\t\t}\n\t]\n}"
|
195
195
|
http_version:
|
196
|
-
recorded_at:
|
196
|
+
recorded_at: Wed, 13 May 2015 22:29:45 GMT
|
197
197
|
- request:
|
198
198
|
method: get
|
199
199
|
uri: http://iiif.io/api/presentation/2/context.json
|
@@ -213,11 +213,11 @@ http_interactions:
|
|
213
213
|
message: OK
|
214
214
|
headers:
|
215
215
|
Date:
|
216
|
-
-
|
216
|
+
- Wed, 13 May 2015 22:32:26 GMT
|
217
217
|
Server:
|
218
218
|
- Apache/2.2.15 (Red Hat)
|
219
219
|
Last-Modified:
|
220
|
-
-
|
220
|
+
- Wed, 13 May 2015 19:46:47 GMT
|
221
221
|
Accept-Ranges:
|
222
222
|
- bytes
|
223
223
|
Content-Length:
|
@@ -225,7 +225,7 @@ http_interactions:
|
|
225
225
|
Cache-Control:
|
226
226
|
- max-age=86400
|
227
227
|
Expires:
|
228
|
-
-
|
228
|
+
- Thu, 14 May 2015 22:32:26 GMT
|
229
229
|
Content-Type:
|
230
230
|
- application/ld+json
|
231
231
|
Access-Control-Allow-Origin:
|
@@ -291,5 +291,5 @@ http_interactions:
|
|
291
291
|
\ \"language\": {\"@id\": \"dc:language\"},\n\t\t \"value\": {\"@id\":
|
292
292
|
\"rdf:value\"},\n\t\t \"label\": {\"@id\": \"rdfs:label\"}\n\t\t}\n\t]\n}"
|
293
293
|
http_version:
|
294
|
-
recorded_at:
|
294
|
+
recorded_at: Wed, 13 May 2015 22:29:45 GMT
|
295
295
|
recorded_with: VCR 2.9.3
|
@@ -31,31 +31,31 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/ld+json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"9c2ee3e1f73493731b379a74ec0fd002"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 09752915-38b2-42e0-80b2-7a4496b08b76
|
39
39
|
X-Runtime:
|
40
|
-
- '1.
|
40
|
+
- '1.549385'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Wed, 13 May 2015 22:29:47 GMT
|
45
45
|
Content-Length:
|
46
46
|
- '443'
|
47
47
|
Connection:
|
48
48
|
- Keep-Alive
|
49
49
|
Set-Cookie:
|
50
|
-
- _internal_session=
|
50
|
+
- _internal_session=dzROeUwwMHd5RTFrVHVaNXpmMThjVVdIdXUycVdLWWdqMWszNmZxNGszTnA3RU9ueUxzUlYzQkJvVitSdDVWOU51c25vN3BjUTUzeGljTmtNNjVCRFozTW03YmtkZlo3NmlsQVhXbjNWeW5GUjRJVFowU3Jmc0hzSkxzN3I0aHJVVVFGbXEvS0pvaVpSYjFobmNxZ0NFRWFjZ2huOEJCbXBLQnNWWTZ2Yld4TEJqb3ZPNS81YzJQcGNnOGhXbU9WZjdaWW5YK2lmcVFPSW9LMTFEODZJS1o0a0tNdzRrQnFqZXMrcFBNUG42eWJlcjF3bXhJc3FxaU9sTUdQQTd0Ty0tY3BLKzlYUGIvMGJNT1VpVXVsU2tpdz09--232032daed0b44b97cd108f95665b5fbf9d74813;
|
51
51
|
path=/; HttpOnly
|
52
52
|
- request_method=POST; path=/
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
|
-
string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:
|
56
|
-
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/
|
55
|
+
string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70052514042460","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/c2/c1/ee/32/c2c1ee32-546c-4496-9605-b4a962893144","@type":"oa:Annotation","hasBody":"_:g70052514042460","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 13 May 2015 22:29:47 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: http://www.w3.org/ns/oa-context-20130208.json
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: Temporary Redirect
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Wed, 13 May 2015 22:29:47 GMT
|
79
79
|
Server:
|
80
80
|
- Apache/2
|
81
81
|
Location:
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
Cache-Control:
|
84
84
|
- max-age=21600
|
85
85
|
Expires:
|
86
|
-
-
|
86
|
+
- Thu, 14 May 2015 04:29:47 GMT
|
87
87
|
Content-Length:
|
88
88
|
- '240'
|
89
89
|
Content-Type:
|
@@ -99,7 +99,7 @@ http_interactions:
|
|
99
99
|
<p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
|
100
100
|
</body></html>
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Wed, 13 May 2015 22:29:47 GMT
|
103
103
|
- request:
|
104
104
|
method: get
|
105
105
|
uri: http://www.w3.org/ns/oa.jsonld
|
@@ -121,7 +121,7 @@ http_interactions:
|
|
121
121
|
message: OK
|
122
122
|
headers:
|
123
123
|
Date:
|
124
|
-
-
|
124
|
+
- Wed, 13 May 2015 22:29:47 GMT
|
125
125
|
Server:
|
126
126
|
- Apache/2
|
127
127
|
Last-Modified:
|
@@ -135,7 +135,7 @@ http_interactions:
|
|
135
135
|
Cache-Control:
|
136
136
|
- max-age=21600
|
137
137
|
Expires:
|
138
|
-
-
|
138
|
+
- Thu, 14 May 2015 04:29:47 GMT
|
139
139
|
P3p:
|
140
140
|
- policyref="http://www.w3.org/2014/08/p3p.xml"
|
141
141
|
Access-Control-Allow-Origin:
|
@@ -1253,7 +1253,7 @@ http_interactions:
|
|
1253
1253
|
|
1254
1254
|
|
1255
1255
|
http_version:
|
1256
|
-
recorded_at:
|
1256
|
+
recorded_at: Wed, 13 May 2015 22:29:47 GMT
|
1257
1257
|
- request:
|
1258
1258
|
method: get
|
1259
1259
|
uri: http://www.w3.org/ns/oa-context-20130208.json
|
@@ -1273,7 +1273,7 @@ http_interactions:
|
|
1273
1273
|
message: Temporary Redirect
|
1274
1274
|
headers:
|
1275
1275
|
Date:
|
1276
|
-
-
|
1276
|
+
- Wed, 13 May 2015 22:29:48 GMT
|
1277
1277
|
Server:
|
1278
1278
|
- Apache/2
|
1279
1279
|
Location:
|
@@ -1281,7 +1281,7 @@ http_interactions:
|
|
1281
1281
|
Cache-Control:
|
1282
1282
|
- max-age=21600
|
1283
1283
|
Expires:
|
1284
|
-
-
|
1284
|
+
- Thu, 14 May 2015 04:29:48 GMT
|
1285
1285
|
Content-Length:
|
1286
1286
|
- '240'
|
1287
1287
|
Content-Type:
|
@@ -1297,7 +1297,7 @@ http_interactions:
|
|
1297
1297
|
<p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
|
1298
1298
|
</body></html>
|
1299
1299
|
http_version:
|
1300
|
-
recorded_at:
|
1300
|
+
recorded_at: Wed, 13 May 2015 22:29:48 GMT
|
1301
1301
|
- request:
|
1302
1302
|
method: get
|
1303
1303
|
uri: http://www.w3.org/ns/oa.jsonld
|
@@ -1319,7 +1319,7 @@ http_interactions:
|
|
1319
1319
|
message: OK
|
1320
1320
|
headers:
|
1321
1321
|
Date:
|
1322
|
-
-
|
1322
|
+
- Wed, 13 May 2015 22:29:48 GMT
|
1323
1323
|
Server:
|
1324
1324
|
- Apache/2
|
1325
1325
|
Last-Modified:
|
@@ -1333,7 +1333,7 @@ http_interactions:
|
|
1333
1333
|
Cache-Control:
|
1334
1334
|
- max-age=21600
|
1335
1335
|
Expires:
|
1336
|
-
-
|
1336
|
+
- Thu, 14 May 2015 04:29:48 GMT
|
1337
1337
|
P3p:
|
1338
1338
|
- policyref="http://www.w3.org/2014/08/p3p.xml"
|
1339
1339
|
Access-Control-Allow-Origin:
|
@@ -2451,7 +2451,7 @@ http_interactions:
|
|
2451
2451
|
|
2452
2452
|
|
2453
2453
|
http_version:
|
2454
|
-
recorded_at:
|
2454
|
+
recorded_at: Wed, 13 May 2015 22:29:48 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: get
|
2457
2457
|
uri: http://localhost:3000/annotations/
|
@@ -2483,13 +2483,13 @@ http_interactions:
|
|
2483
2483
|
Cache-Control:
|
2484
2484
|
- no-cache
|
2485
2485
|
X-Request-Id:
|
2486
|
-
-
|
2486
|
+
- 29275d6d-d162-4f7d-a8af-1b3245555cf7
|
2487
2487
|
X-Runtime:
|
2488
|
-
- '0.
|
2488
|
+
- '0.004191'
|
2489
2489
|
Server:
|
2490
2490
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2491
2491
|
Date:
|
2492
|
-
-
|
2492
|
+
- Wed, 13 May 2015 22:29:48 GMT
|
2493
2493
|
Content-Length:
|
2494
2494
|
- '94'
|
2495
2495
|
Connection:
|
@@ -2498,7 +2498,7 @@ http_interactions:
|
|
2498
2498
|
encoding: UTF-8
|
2499
2499
|
string: <html><body>You are being <a href="http://localhost:3000/search">redirected</a>.</body></html>
|
2500
2500
|
http_version:
|
2501
|
-
recorded_at:
|
2501
|
+
recorded_at: Wed, 13 May 2015 22:29:48 GMT
|
2502
2502
|
- request:
|
2503
2503
|
method: get
|
2504
2504
|
uri: http://localhost:3000/search
|
@@ -2528,27 +2528,27 @@ http_interactions:
|
|
2528
2528
|
Content-Type:
|
2529
2529
|
- application/ld+json; charset=utf-8
|
2530
2530
|
Etag:
|
2531
|
-
- W/"
|
2531
|
+
- W/"d971bdbad42f46274b7bb0b989d4d9e9"
|
2532
2532
|
Cache-Control:
|
2533
2533
|
- max-age=0, private, must-revalidate
|
2534
2534
|
X-Request-Id:
|
2535
|
-
-
|
2535
|
+
- 077e1e02-da74-4268-bcc8-ebb4567af89f
|
2536
2536
|
X-Runtime:
|
2537
|
-
- '1.
|
2537
|
+
- '1.159594'
|
2538
2538
|
Server:
|
2539
2539
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2540
2540
|
Date:
|
2541
|
-
-
|
2541
|
+
- Wed, 13 May 2015 22:29:49 GMT
|
2542
2542
|
Content-Length:
|
2543
2543
|
- '512'
|
2544
2544
|
Connection:
|
2545
2545
|
- Keep-Alive
|
2546
2546
|
body:
|
2547
2547
|
encoding: UTF-8
|
2548
|
-
string: '{"@context":"http://iiif.io/api/presentation/2/context.json","@type":"sc:AnnotationList","within":{"@type":"sc:Layer","total":1},"resources":[{"@id":"http://your.triannon-server.com/annotations/
|
2548
|
+
string: '{"@context":"http://iiif.io/api/presentation/2/context.json","@type":"sc:AnnotationList","within":{"@type":"sc:Layer","total":1},"resources":[{"@id":"http://your.triannon-server.com/annotations/c2/c1/ee/32/c2c1ee32-546c-4496-9605-b4a962893144","@type":"oa:Annotation","motivation":"oa:commenting","on":"http://purl.stanford.edu/kq131cs7229","resource":{"@id":"_:b0","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
2549
2549
|
love this!","format":"text/plain","language":"en"}}],"@id":"http://localhost:3000/search"}'
|
2550
2550
|
http_version:
|
2551
|
-
recorded_at:
|
2551
|
+
recorded_at: Wed, 13 May 2015 22:29:49 GMT
|
2552
2552
|
- request:
|
2553
2553
|
method: get
|
2554
2554
|
uri: http://iiif.io/api/presentation/2/context.json
|
@@ -2568,11 +2568,11 @@ http_interactions:
|
|
2568
2568
|
message: OK
|
2569
2569
|
headers:
|
2570
2570
|
Date:
|
2571
|
-
-
|
2571
|
+
- Wed, 13 May 2015 22:32:30 GMT
|
2572
2572
|
Server:
|
2573
2573
|
- Apache/2.2.15 (Red Hat)
|
2574
2574
|
Last-Modified:
|
2575
|
-
-
|
2575
|
+
- Wed, 13 May 2015 19:46:47 GMT
|
2576
2576
|
Accept-Ranges:
|
2577
2577
|
- bytes
|
2578
2578
|
Content-Length:
|
@@ -2580,7 +2580,7 @@ http_interactions:
|
|
2580
2580
|
Cache-Control:
|
2581
2581
|
- max-age=86400
|
2582
2582
|
Expires:
|
2583
|
-
-
|
2583
|
+
- Thu, 14 May 2015 22:32:30 GMT
|
2584
2584
|
Content-Type:
|
2585
2585
|
- application/ld+json
|
2586
2586
|
Access-Control-Allow-Origin:
|
@@ -2646,7 +2646,7 @@ http_interactions:
|
|
2646
2646
|
\ \"language\": {\"@id\": \"dc:language\"},\n\t\t \"value\": {\"@id\":
|
2647
2647
|
\"rdf:value\"},\n\t\t \"label\": {\"@id\": \"rdfs:label\"}\n\t\t}\n\t]\n}"
|
2648
2648
|
http_version:
|
2649
|
-
recorded_at:
|
2649
|
+
recorded_at: Wed, 13 May 2015 22:29:49 GMT
|
2650
2650
|
- request:
|
2651
2651
|
method: get
|
2652
2652
|
uri: http://iiif.io/api/presentation/2/context.json
|
@@ -2666,11 +2666,11 @@ http_interactions:
|
|
2666
2666
|
message: OK
|
2667
2667
|
headers:
|
2668
2668
|
Date:
|
2669
|
-
-
|
2669
|
+
- Wed, 13 May 2015 22:32:30 GMT
|
2670
2670
|
Server:
|
2671
2671
|
- Apache/2.2.15 (Red Hat)
|
2672
2672
|
Last-Modified:
|
2673
|
-
-
|
2673
|
+
- Wed, 13 May 2015 19:46:47 GMT
|
2674
2674
|
Accept-Ranges:
|
2675
2675
|
- bytes
|
2676
2676
|
Content-Length:
|
@@ -2678,7 +2678,7 @@ http_interactions:
|
|
2678
2678
|
Cache-Control:
|
2679
2679
|
- max-age=86400
|
2680
2680
|
Expires:
|
2681
|
-
-
|
2681
|
+
- Thu, 14 May 2015 22:32:30 GMT
|
2682
2682
|
Content-Type:
|
2683
2683
|
- application/ld+json
|
2684
2684
|
Access-Control-Allow-Origin:
|
@@ -2744,10 +2744,10 @@ http_interactions:
|
|
2744
2744
|
\ \"language\": {\"@id\": \"dc:language\"},\n\t\t \"value\": {\"@id\":
|
2745
2745
|
\"rdf:value\"},\n\t\t \"label\": {\"@id\": \"rdfs:label\"}\n\t\t}\n\t]\n}"
|
2746
2746
|
http_version:
|
2747
|
-
recorded_at:
|
2747
|
+
recorded_at: Wed, 13 May 2015 22:29:49 GMT
|
2748
2748
|
- request:
|
2749
2749
|
method: delete
|
2750
|
-
uri: http://localhost:3000/annotations/
|
2750
|
+
uri: http://localhost:3000/annotations/c2%2Fc1%2Fee%2F32%2Fc2c1ee32-546c-4496-9605-b4a962893144
|
2751
2751
|
body:
|
2752
2752
|
encoding: US-ASCII
|
2753
2753
|
string: ''
|
@@ -2774,22 +2774,22 @@ http_interactions:
|
|
2774
2774
|
Cache-Control:
|
2775
2775
|
- no-cache
|
2776
2776
|
X-Request-Id:
|
2777
|
-
-
|
2777
|
+
- 0a7651cb-165a-4362-a551-fb4c39b4726b
|
2778
2778
|
X-Runtime:
|
2779
|
-
- '0.
|
2779
|
+
- '0.197916'
|
2780
2780
|
Server:
|
2781
2781
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2782
2782
|
Date:
|
2783
|
-
-
|
2783
|
+
- Wed, 13 May 2015 22:29:50 GMT
|
2784
2784
|
Connection:
|
2785
2785
|
- Keep-Alive
|
2786
2786
|
Set-Cookie:
|
2787
|
-
- _internal_session=
|
2787
|
+
- _internal_session=Tnp0RTFqUnM0UHkvM2J2OFFCc3ZKQ1dyWFpmanNVRDZJY0xGVzl1cHRkVTJuTjVDVi8vbXBsd2NyUjFmWlhnSG5mbTZqRzcvVmJHM2FuOHUxYVRKcm9JZU9oREtoN3JvY2kxNmVINk9Ta3lYTzFkSmZ6Y1ZMYlpSVkNHK0hlem14T2h2T0FjTFRLSUIzMDM4c1UxL3FZMkdQUEFDbHMwbVZzaktMeWE5K1lHdHlTSy9vSVdWdGlqZzlsWXl3UVNvLS00ZWoxeWJ6VzFsVzFCOXZKTGxvK2tBPT0%3D--ca7d14e3d160e501b51eed62ebf191abd4dcc34b;
|
2788
2788
|
path=/; HttpOnly
|
2789
2789
|
- request_method=DELETE; path=/
|
2790
2790
|
body:
|
2791
2791
|
encoding: UTF-8
|
2792
2792
|
string: ''
|
2793
2793
|
http_version:
|
2794
|
-
recorded_at:
|
2794
|
+
recorded_at: Wed, 13 May 2015 22:29:50 GMT
|
2795
2795
|
recorded_with: VCR 2.9.3
|
@@ -31,31 +31,31 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/ld+json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"200b816d8eb9984aac1cafc6891921ed"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- e83ea75b-0e81-4cb5-b4ca-10a0c6b4fe6c
|
39
39
|
X-Runtime:
|
40
|
-
- '
|
40
|
+
- '1.373331'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Wed, 13 May 2015 22:32:13 GMT
|
45
45
|
Content-Length:
|
46
46
|
- '443'
|
47
47
|
Connection:
|
48
48
|
- Keep-Alive
|
49
49
|
Set-Cookie:
|
50
|
-
- _internal_session=
|
50
|
+
- _internal_session=dE8xVjl3YnpCWDZ1M2MyOHE4NVQzYjV4Q2EwYW9PMHVCUE10N0laM01ubnJhVEljOTJickgvbWZYRVJVSTFJa0xYMVhxWEFhVlAvYSttVThoU1FOMWZoTm14NXlkQUNNaG9Fd21RZG5kZzM2cVZmSlBORjdOVkxYNVdkNEJLK3ZvaUtCUmUwVmZZVVZDM3hZOFhRSjU5Qkwvckw2YjU0M2RGTDBQK3VWQjJ5dnBwejlXekNCbnRFWlJ0Rjltc1dScEdrZ0p6L092OWs0TFR0M3prckVMc3M4SFA0Tk1WNFBOL1ZXeDZvbHZ5bXFxWXBmMlV2NnpVOW5QOW1Cb1ozei0tLzJNR1VHRXhuY2ZvSHF0WmN0UjVwdz09--c48ebe50856c923b3359d29508a102cca5a65c90;
|
51
51
|
path=/; HttpOnly
|
52
52
|
- request_method=POST; path=/
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
|
-
string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:
|
56
|
-
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/
|
55
|
+
string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70052621681620","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/36/b1/65/5d/36b1655d-b783-4544-8c7a-139f868f7dbf","@type":"oa:Annotation","hasBody":"_:g70052621681620","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 13 May 2015 22:32:13 GMT
|
59
59
|
- request:
|
60
60
|
method: get
|
61
61
|
uri: http://www.w3.org/ns/oa-context-20130208.json
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: Temporary Redirect
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Wed, 13 May 2015 22:32:13 GMT
|
79
79
|
Server:
|
80
80
|
- Apache/2
|
81
81
|
Location:
|
@@ -83,7 +83,7 @@ http_interactions:
|
|
83
83
|
Cache-Control:
|
84
84
|
- max-age=21600
|
85
85
|
Expires:
|
86
|
-
-
|
86
|
+
- Thu, 14 May 2015 04:32:13 GMT
|
87
87
|
Content-Length:
|
88
88
|
- '240'
|
89
89
|
Content-Type:
|
@@ -99,7 +99,7 @@ http_interactions:
|
|
99
99
|
<p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
|
100
100
|
</body></html>
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Wed, 13 May 2015 22:32:13 GMT
|
103
103
|
- request:
|
104
104
|
method: get
|
105
105
|
uri: http://www.w3.org/ns/oa.jsonld
|
@@ -121,7 +121,7 @@ http_interactions:
|
|
121
121
|
message: OK
|
122
122
|
headers:
|
123
123
|
Date:
|
124
|
-
-
|
124
|
+
- Wed, 13 May 2015 22:32:13 GMT
|
125
125
|
Server:
|
126
126
|
- Apache/2
|
127
127
|
Last-Modified:
|
@@ -135,7 +135,7 @@ http_interactions:
|
|
135
135
|
Cache-Control:
|
136
136
|
- max-age=21600
|
137
137
|
Expires:
|
138
|
-
-
|
138
|
+
- Thu, 14 May 2015 04:32:13 GMT
|
139
139
|
P3p:
|
140
140
|
- policyref="http://www.w3.org/2014/08/p3p.xml"
|
141
141
|
Access-Control-Allow-Origin:
|
@@ -1253,7 +1253,7 @@ http_interactions:
|
|
1253
1253
|
|
1254
1254
|
|
1255
1255
|
http_version:
|
1256
|
-
recorded_at:
|
1256
|
+
recorded_at: Wed, 13 May 2015 22:32:13 GMT
|
1257
1257
|
- request:
|
1258
1258
|
method: get
|
1259
1259
|
uri: http://www.w3.org/ns/oa-context-20130208.json
|
@@ -1273,7 +1273,7 @@ http_interactions:
|
|
1273
1273
|
message: Temporary Redirect
|
1274
1274
|
headers:
|
1275
1275
|
Date:
|
1276
|
-
-
|
1276
|
+
- Wed, 13 May 2015 22:32:13 GMT
|
1277
1277
|
Server:
|
1278
1278
|
- Apache/2
|
1279
1279
|
Location:
|
@@ -1281,7 +1281,7 @@ http_interactions:
|
|
1281
1281
|
Cache-Control:
|
1282
1282
|
- max-age=21600
|
1283
1283
|
Expires:
|
1284
|
-
-
|
1284
|
+
- Thu, 14 May 2015 04:32:13 GMT
|
1285
1285
|
Content-Length:
|
1286
1286
|
- '240'
|
1287
1287
|
Content-Type:
|
@@ -1297,7 +1297,7 @@ http_interactions:
|
|
1297
1297
|
<p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
|
1298
1298
|
</body></html>
|
1299
1299
|
http_version:
|
1300
|
-
recorded_at:
|
1300
|
+
recorded_at: Wed, 13 May 2015 22:32:14 GMT
|
1301
1301
|
- request:
|
1302
1302
|
method: get
|
1303
1303
|
uri: http://www.w3.org/ns/oa.jsonld
|
@@ -1319,7 +1319,7 @@ http_interactions:
|
|
1319
1319
|
message: OK
|
1320
1320
|
headers:
|
1321
1321
|
Date:
|
1322
|
-
-
|
1322
|
+
- Wed, 13 May 2015 22:32:14 GMT
|
1323
1323
|
Server:
|
1324
1324
|
- Apache/2
|
1325
1325
|
Last-Modified:
|
@@ -1333,7 +1333,7 @@ http_interactions:
|
|
1333
1333
|
Cache-Control:
|
1334
1334
|
- max-age=21600
|
1335
1335
|
Expires:
|
1336
|
-
-
|
1336
|
+
- Thu, 14 May 2015 04:32:14 GMT
|
1337
1337
|
P3p:
|
1338
1338
|
- policyref="http://www.w3.org/2014/08/p3p.xml"
|
1339
1339
|
Access-Control-Allow-Origin:
|
@@ -2451,10 +2451,10 @@ http_interactions:
|
|
2451
2451
|
|
2452
2452
|
|
2453
2453
|
http_version:
|
2454
|
-
recorded_at:
|
2454
|
+
recorded_at: Wed, 13 May 2015 22:32:14 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: delete
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/36%2Fb1%2F65%2F5d%2F36b1655d-b783-4544-8c7a-139f868f7dbf
|
2458
2458
|
body:
|
2459
2459
|
encoding: US-ASCII
|
2460
2460
|
string: ''
|
@@ -2481,22 +2481,22 @@ http_interactions:
|
|
2481
2481
|
Cache-Control:
|
2482
2482
|
- no-cache
|
2483
2483
|
X-Request-Id:
|
2484
|
-
-
|
2484
|
+
- e5d18b29-f501-47d6-87cc-6de4cc5cc08b
|
2485
2485
|
X-Runtime:
|
2486
|
-
- '0.
|
2486
|
+
- '0.147564'
|
2487
2487
|
Server:
|
2488
2488
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2489
2489
|
Date:
|
2490
|
-
-
|
2490
|
+
- Wed, 13 May 2015 22:32:14 GMT
|
2491
2491
|
Connection:
|
2492
2492
|
- Keep-Alive
|
2493
2493
|
Set-Cookie:
|
2494
|
-
- _internal_session=
|
2494
|
+
- _internal_session=MVF0YzJsVk5QTVU3VTA4SHdsU2ZnUW1jTTJSYWliTFRQT3dVcFg0S3FWeUtUUFJoNXVhaFB2dUY5MnNlL3BVR01DYkZ4WTVzRE9qUVhOQ2tNYWtYWnAydmgrSU8xbk1lWWZlUjU0TGVtMnhkMjJ4K3pQVHF5d0Q0TVp5UG1FZXFZdHJsQjJqcUlWWGM3QlpzRGM5ZVorRHp4dzJZQ0syTzI3K2h5OVlQY0VuN0JKVkIyZFFpSjJXalVnRklCODZzLS1MTTlyaEtqa3N1aExRb0hFUXVOZVZBPT0%3D--c9413da8ce284ae239fcaa6fa8922d15000d7696;
|
2495
2495
|
path=/; HttpOnly
|
2496
2496
|
- request_method=DELETE; path=/
|
2497
2497
|
body:
|
2498
2498
|
encoding: UTF-8
|
2499
2499
|
string: ''
|
2500
2500
|
http_version:
|
2501
|
-
recorded_at:
|
2501
|
+
recorded_at: Wed, 13 May 2015 22:32:14 GMT
|
2502
2502
|
recorded_with: VCR 2.9.3
|