triannon-client 0.3.0 → 0.4.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 +1 -0
- data/lib/triannon-client/triannon_client.rb +14 -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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +49 -61
- 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 +99 -40
- 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 +40 -40
- 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/{returns_true_for_a_204_response_to_a_DELETE_request.yml → does_not_log_exceptions_for_missing_annotations_404_responses_.yml} +10 -10
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_false_for_a_500_response_to_a_DELETE_request.yml → does_not_log_exceptions_for_missing_annotations_410_responses_.yml} +10 -10
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_true_for_a_202_response_to_a_DELETE_request.yml → logs_exceptions.yml} +9 -9
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{returns_true_for_a_200_response_to_a_DELETE_request.yml → returns_FALSE_for_a_500_response_to_a_DELETE_request.yml} +11 -12
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_200_response_to_a_DELETE_request.yml +63 -0
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_202_response_to_a_DELETE_request.yml +63 -0
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_204_response_to_a_DELETE_request.yml +63 -0
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_404_response_to_a_DELETE_request.yml +63 -0
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_410_response_to_a_DELETE_request.yml +63 -0
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{fails_to_delete_an_open_annotation_that_does_NOT_exist.yml → returns_TRUE_when_deleting_an_open_annotation_that_does_NOT_exist.yml} +8 -8
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/{deletes_an_open_annotation_that_exists.yml → returns_TRUE_when_deleting_an_open_annotation_that_exists.yml} +34 -34
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +8 -8
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +14 -14
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +14 -14
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +42 -42
- 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/logs_exceptions.yml +5601 -0
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions_for_RestClient_Exception.yml +5601 -0
- 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_uris/returns_an_RDF_URI_that_is_a_valid_URI.yml +34 -34
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_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 +67 -26
- data/triannon-client.gemspec +1 -1
- metadata +28 -14
@@ -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/"95d0b31d0fcacf72474f0c0d8efefe8b"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- dede4d8e-07a2-44a7-a06c-bd6fa4e2059c
|
39
39
|
X-Runtime:
|
40
|
-
- '1.
|
40
|
+
- '1.797100'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Mon, 18 May 2015 20:06:21 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=RWFFYnlDVUxOaWF3UmtFK3g4ODZxTGc4cGFsbmxvakZaUk9VN3ZjMVpUMm05eExpcklzMXBNMXBmYVczcWs0YWFBTHBsS3hPSlFQWkhjWENsRWZUMjIvU1lpQ055SUppMkdjQ0J4YWlOSVRaMk5vdkRPOVlzUFRqZytXRzBjb0xrRHNkTmh3ZW0vWXlvSkZvd0tjbzNGamg2dTRtL0libEpyS1NQZzliZ01JditHWWg5WEIyWitIQWVmVkFuTFlPZ2J6am85Uk9IODQvNnBlL1FiNk5qN29mMHVGdWNaTkp2L0hoOGtjTnZ0Y1laWVJKQWUrYjN0TmwrMVJMMEtIay0tSEl6ZFVFY0tVK1FLRFhxdlRqM2xydz09--82241483e0f612cf5afa9665246222c33b5e2fd3;
|
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":"_:g70310877852400","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/16/bb/9f/67/16bb9f67-9cc5-4658-b416-28e44ac45d03","@type":"oa:Annotation","hasBody":"_:g70310877852400","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Mon, 18 May 2015 20:06:21 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
|
+
- Mon, 18 May 2015 20:06:21 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
|
+
- Tue, 19 May 2015 02:06:21 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: Mon, 18 May 2015 20:06:21 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
|
+
- Mon, 18 May 2015 20:06:21 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
|
+
- Tue, 19 May 2015 02:06:21 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: Mon, 18 May 2015 20:06:21 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
|
+
- Mon, 18 May 2015 20:06:21 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
|
+
- Tue, 19 May 2015 02:06:21 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: Mon, 18 May 2015 20:06:21 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
|
+
- Mon, 18 May 2015 20:06:22 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
|
+
- Tue, 19 May 2015 02:06:22 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: Mon, 18 May 2015 20:06:22 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: delete
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/16%2Fbb%2F9f%2F67%2F16bb9f67-9cc5-4658-b416-28e44ac45d03
|
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
|
+
- 73693259-258a-41e2-903a-918da99bf9b1
|
2485
2485
|
X-Runtime:
|
2486
|
-
- '0.
|
2486
|
+
- '0.257090'
|
2487
2487
|
Server:
|
2488
2488
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2489
2489
|
Date:
|
2490
|
-
-
|
2490
|
+
- Mon, 18 May 2015 20:06:22 GMT
|
2491
2491
|
Connection:
|
2492
2492
|
- Keep-Alive
|
2493
2493
|
Set-Cookie:
|
2494
|
-
- _internal_session=
|
2494
|
+
- _internal_session=eGtUcnd6dXVhZVZ6Y1hLVUxMWnZzUE9FVm04bWN5a296SkllcGxqK1ZrNHJ6MENNemtzOTNBN25jTUwvS0xmZGpTS2Mxd1dUVHVRQS9LOHVLOWN4Q29UMEMrNkZCS0ZPNjZwelZQK0grOWxVb1BZQkRJMkNwOXhDS2VZc0VNaENlaVZMRU4xQkJjR2pnNjk5TDFtMHhDbUh5dGRPazYrY1FXRzVFdWcyQ3BKZHlFeDEwNFpBV0tqSnNkdTZHNEs1LS1IR1BvSVEyc0VMVW16dXZIVUdDbkhnPT0%3D--a63365a5a4f4e46de8e420b2aa1c4243edf3814d;
|
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: Mon, 18 May 2015 20:06:22 GMT
|
2502
2502
|
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/"dbcb5579d994b7bc7c291ed10e3ddba6"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 48977092-fad6-46d9-90e3-cf90d59166ce
|
39
39
|
X-Runtime:
|
40
|
-
- '1.
|
40
|
+
- '1.774456'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Mon, 18 May 2015 20:07:51 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=V2lQNWhBemV6Tzd6V1ZvS2xGeWcyR0cyM3ZvV3gwU1dvamw0bnNoR1RWM2E1VERGK1kyVzhEMU10d0l4NVFWOEtPMDUxQm5NSjNLUWpId2g5QVdlVzBYRmplN3RIQi81NUdPRi9CUWNJR1lzemtKS1RtemhuTzNnRTJ5ZUViMm1zYTlhQUxPVENSaVNIZkxtMEhxbk5nWjFwbDJ0OVhrR1VweFVYWURaVTVSN1A5YjF1RjhPUDBaUCsvdXVaNytJbXVMeFBBU3VVTHBsVFl4Zm9Rd210Qkg3MFBQZ1plWjdzRFd5TnpWS2RMbTEyWGxJQ2NkTURsTFFqc1N4MWtsaC0tZThnbERVU3pvQUdjQzVjNkZYKy9OQT09--1b43ec875f14d6c68d122fab8c9171430edf6e1f;
|
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":"_:g70310881454620","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/41/0b/ec/a3/410beca3-0659-4775-a527-a960c7501af1","@type":"oa:Annotation","hasBody":"_:g70310881454620","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Mon, 18 May 2015 20:07:51 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
|
+
- Mon, 18 May 2015 20:07:51 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
|
+
- Tue, 19 May 2015 02:07:51 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: Mon, 18 May 2015 20:07:51 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
|
+
- Mon, 18 May 2015 20:07:52 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
|
+
- Tue, 19 May 2015 02:07:52 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: Mon, 18 May 2015 20:07:52 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
|
+
- Mon, 18 May 2015 20:07:52 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
|
+
- Tue, 19 May 2015 02:07:52 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: Mon, 18 May 2015 20:07:52 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
|
+
- Mon, 18 May 2015 20:07:52 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
|
+
- Tue, 19 May 2015 02:07:52 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: Mon, 18 May 2015 20:07:53 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: delete
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/41%2F0b%2Fec%2Fa3%2F410beca3-0659-4775-a527-a960c7501af1
|
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
|
+
- 67a7f9cb-d074-47fb-95c6-508bf8226f54
|
2485
2485
|
X-Runtime:
|
2486
|
-
- '0.
|
2486
|
+
- '0.213549'
|
2487
2487
|
Server:
|
2488
2488
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2489
2489
|
Date:
|
2490
|
-
-
|
2490
|
+
- Mon, 18 May 2015 20:07:53 GMT
|
2491
2491
|
Connection:
|
2492
2492
|
- Keep-Alive
|
2493
2493
|
Set-Cookie:
|
2494
|
-
- _internal_session=
|
2494
|
+
- _internal_session=djZVeVdmYlVrdDJGditIajVTc0RwS3Y5bnVncjZQVEtrWkE5TU9EQW1nTGdTeDAwU3B4dWlvZEtjNW9zcEMvVjNOQ1N2VmlHY3kvOXpSZG0ydkRwUG5DMWpHZnovRjRTR1pFRi9yVktFZzZ3WVlZUHZadU96b2hUbUxDRUdtN0l6MEkvVTUzNW5vQzBnNVh0OFhnR1c1NGEvS1dXdGhoVlBaMFJNQk9tQUZjNU40YXIyUmY4OW1IVmhQaUNsZmsrLS1jWWV1TWtmcCtmWWZ1TUlQYUFBMjdnPT0%3D--564e8ba21301a1aa8e9259858f6bd180e2cc8cca;
|
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: Mon, 18 May 2015 20:07:53 GMT
|
2502
2502
|
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/"77dd16ccd6e9633472184df1f46e7d6f"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 4103014b-8e0c-4de7-9417-3947f98f58c1
|
39
39
|
X-Runtime:
|
40
|
-
- '1.
|
40
|
+
- '1.669721'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Mon, 18 May 2015 20:07:19 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=dzhrQ3VYanJGY0dtUDdaVUUzNjlLYlMwMnBMRDh4cGNndHU4SnJVeSt5MTBjbWIxWHE1YVU1S3ByL283WG8zR2lDUmFXcWQ5RWJqMTg3L1lvZE1TaUhMLyttaWlOdlhkQkFnemhRS0U1Nm9EZjdMVUNkTGJBbDFFdi94MTN4alNla1Z5NHUwam1hTE5WNHNOdjl5L1hrMTBsQW1KWWRYdDBIR1ZVaWRJSVo0Sks3T2V1Y1VBUmlXNU5yemhEcERwQ2V2NkxyNk9rcWRsRU1PZ2ljalVMaEhRMnJPUGxpQXhxaVRBODVFVWFzZENEcjNjZVAzaGp4QUVBVlZVcnl2Ui0tODNHbUxIZ3NpR1BLd0UyU2xzaUQrQT09--6a32afffc88805fa5958d24dab8a73b3a2a8ef3b;
|
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":"_:g70310877590160","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/bc/64/a2/9e/bc64a29e-593b-4230-8a16-5408bba8977d","@type":"oa:Annotation","hasBody":"_:g70310877590160","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Mon, 18 May 2015 20:07:19 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
|
+
- Mon, 18 May 2015 20:07:19 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
|
+
- Tue, 19 May 2015 02:07:19 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: Mon, 18 May 2015 20:07:19 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
|
+
- Mon, 18 May 2015 20:07:19 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
|
+
- Tue, 19 May 2015 02:07:19 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: Mon, 18 May 2015 20:07:19 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
|
+
- Mon, 18 May 2015 20:07:19 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
|
+
- Tue, 19 May 2015 02:07:19 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: Mon, 18 May 2015 20:07:19 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
|
+
- Mon, 18 May 2015 20:07:20 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
|
+
- Tue, 19 May 2015 02:07:20 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: Mon, 18 May 2015 20:07:20 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: delete
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/bc%2F64%2Fa2%2F9e%2Fbc64a29e-593b-4230-8a16-5408bba8977d
|
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
|
+
- bb6b324b-9bfe-4b4a-b97d-0e46accf33a9
|
2485
2485
|
X-Runtime:
|
2486
|
-
- '0.
|
2486
|
+
- '0.213713'
|
2487
2487
|
Server:
|
2488
2488
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2489
2489
|
Date:
|
2490
|
-
-
|
2490
|
+
- Mon, 18 May 2015 20:07:20 GMT
|
2491
2491
|
Connection:
|
2492
2492
|
- Keep-Alive
|
2493
2493
|
Set-Cookie:
|
2494
|
-
- _internal_session=
|
2494
|
+
- _internal_session=SVdDdWhBUklNOFVqSzJXd016UkFSSnpDdjFMNWhoMVllVWF3N2Nnd01sb2Z4dkRhMTVscld0VTJJVUtHOVVnbFBaTkRHREJNbGZOQkkzdlROWmh0b2V2cHZ3YWpoL2hIT2VuM2lnSnZBa0c3dldVbnRMWDlqQmRmNHMweXhoMmtPOXhTM1dXN3UwZFk2TmlGRWRUbk5lUXNDdnVNbGZKTER1M0c0SkhuMkpkQU5GK0Q4VWs1T21SWnExSllmQ0pTLS1nOEoyQnFBa1duSER5TFZrRHRxVHZ3PT0%3D--097b31f16893cbf83fc18e81da23d2bd90857d19;
|
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: Mon, 18 May 2015 20:07:20 GMT
|
2502
2502
|
recorded_with: VCR 2.9.3
|