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,31 +31,31 @@ http_interactions:
|
|
31
31
|
Content-Type:
|
32
32
|
- application/ld+json; charset=utf-8
|
33
33
|
Etag:
|
34
|
-
- W/"
|
34
|
+
- W/"7811db720770c2cc3ee31d74b0732765"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- f5c68070-6f58-4c89-9723-9cc1033db87b
|
39
39
|
X-Runtime:
|
40
|
-
- '1.
|
40
|
+
- '1.387983'
|
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:31:52 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=YXhpZ2d0NGR2eTk4UWhnRnJKcWhGeURhOFVIeDhLazdCWkw5WXRpQm5BWHN5ZFRBOFMzdW5CMHl3RG44M3IyNjBGOGE0L0JhcFpXdjJwVkx3UkxnaklLOG02WXZVNFVaZzIvOXVIM1VHU0tPalo5VlVnQWoxMVpxWG5SZzV1S1VnQlVmaTZhdUErd3JhRnZOV1hKMW90QnNlc082dWhodHNjOVFsWGRraWtOcmJma1RTbXhYVGlwa1JlUldKREpka1VZVmIwNS9jY0dwaFA1RldhOS9sMUpiZzBGZHRJc245U0JKQlhmOHk0T1lIejk2YkZWQ0ovdEtKcEU1L013Sy0tRUgwYWJuODRBNjB0bHVvWm5oNnVOZz09--a6024cc79a60545b0a350899421cfd3aa0df6b78;
|
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":"_:g70052523539220","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/10/23/d2/4f/1023d24f-f7ae-4d48-8f86-410f4b01eca2","@type":"oa:Annotation","hasBody":"_:g70052523539220","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Wed, 13 May 2015 22:31:52 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:31:52 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:31:52 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:31:52 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:31: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
|
+
- Thu, 14 May 2015 04:31: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: Wed, 13 May 2015 22:31: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
|
+
- Wed, 13 May 2015 22:31: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
|
+
- Thu, 14 May 2015 04:31: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: Wed, 13 May 2015 22:31: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
|
+
- Wed, 13 May 2015 22:31: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
|
+
- Thu, 14 May 2015 04:31: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: Wed, 13 May 2015 22:31:53 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: get
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/71230ef7-501c-498f-8f80-c10f6dbcc86d
|
2458
2458
|
body:
|
2459
2459
|
encoding: US-ASCII
|
2460
2460
|
string: ''
|
@@ -2481,23 +2481,23 @@ http_interactions:
|
|
2481
2481
|
Cache-Control:
|
2482
2482
|
- no-cache
|
2483
2483
|
X-Request-Id:
|
2484
|
-
-
|
2484
|
+
- 86e818eb-35fc-4713-a18d-a60d1d7a20be
|
2485
2485
|
X-Runtime:
|
2486
|
-
- '0.
|
2486
|
+
- '0.018200'
|
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:31:53 GMT
|
2491
2491
|
Content-Length:
|
2492
2492
|
- '1486'
|
2493
2493
|
Connection:
|
2494
2494
|
- Keep-Alive
|
2495
2495
|
body:
|
2496
2496
|
encoding: UTF-8
|
2497
|
-
string: "<h2>error getting
|
2497
|
+
string: "<h2>error getting 71230ef7-501c-498f-8f80-c10f6dbcc86d from LDP</h2><html>\n<head>\n<meta
|
2498
2498
|
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2499
2499
|
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2500
|
-
accessing /fedora/rest/anno/
|
2500
|
+
accessing /fedora/rest/anno/71230ef7-501c-498f-8f80-c10f6dbcc86d. Reason:\n<pre>
|
2501
2501
|
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2502
2502
|
\ \n<br/> \n<br/>
|
2503
2503
|
\ \n<br/> \n<br/>
|
@@ -2510,10 +2510,10 @@ http_interactions:
|
|
2510
2510
|
\ \n<br/> \n<br/>
|
2511
2511
|
\ \n<br/> \n\n</body>\n</html>\n"
|
2512
2512
|
http_version:
|
2513
|
-
recorded_at:
|
2513
|
+
recorded_at: Wed, 13 May 2015 22:31:53 GMT
|
2514
2514
|
- request:
|
2515
2515
|
method: delete
|
2516
|
-
uri: http://localhost:3000/annotations/
|
2516
|
+
uri: http://localhost:3000/annotations/10%2F23%2Fd2%2F4f%2F1023d24f-f7ae-4d48-8f86-410f4b01eca2
|
2517
2517
|
body:
|
2518
2518
|
encoding: US-ASCII
|
2519
2519
|
string: ''
|
@@ -2540,27 +2540,27 @@ http_interactions:
|
|
2540
2540
|
Cache-Control:
|
2541
2541
|
- no-cache
|
2542
2542
|
X-Request-Id:
|
2543
|
-
-
|
2543
|
+
- 31b7bb14-3ee0-4dc5-9a86-beba7c78bbc8
|
2544
2544
|
X-Runtime:
|
2545
|
-
- '0.
|
2545
|
+
- '0.158006'
|
2546
2546
|
Server:
|
2547
2547
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2548
2548
|
Date:
|
2549
|
-
-
|
2549
|
+
- Wed, 13 May 2015 22:31:53 GMT
|
2550
2550
|
Connection:
|
2551
2551
|
- Keep-Alive
|
2552
2552
|
Set-Cookie:
|
2553
|
-
- _internal_session=
|
2553
|
+
- _internal_session=cnArc2ZzdEpQZDVmaTdMVlNnNmlzT1hmUmJDVHphWlJRU091MG9nL3BUWnRZblVzcmFtMEZMY2ZZTXBjSkRtRldpdVovVGcyTnZ6QzNYbWxKeE1xMkRNUGF1eVZLQlhlcDRLZmhIeXJYSi94YXRBNzdtZUlrTUt6bjIvaWVaNS8vdDU2Y1czcy9BNHVuS2xscXhibCtIeC9STFB6QW9jaFdtMmVtM1MrV0FxZVpRWnc5MUhWSi8xaTBacFJNbDM4LS1DbGwwNlFPTjVoZkdtK1lLbElHK213PT0%3D--b268a195dc400189b86df9c0ae09fa9ea52cf0f1;
|
2554
2554
|
path=/; HttpOnly
|
2555
2555
|
- request_method=DELETE; path=/
|
2556
2556
|
body:
|
2557
2557
|
encoding: UTF-8
|
2558
2558
|
string: ''
|
2559
2559
|
http_version:
|
2560
|
-
recorded_at:
|
2560
|
+
recorded_at: Wed, 13 May 2015 22:31:53 GMT
|
2561
2561
|
- request:
|
2562
2562
|
method: get
|
2563
|
-
uri: http://localhost:3000/annotations/
|
2563
|
+
uri: http://localhost:3000/annotations/c53b7881-2450-492d-aefc-314c87656903
|
2564
2564
|
body:
|
2565
2565
|
encoding: US-ASCII
|
2566
2566
|
string: ''
|
@@ -2587,23 +2587,23 @@ http_interactions:
|
|
2587
2587
|
Cache-Control:
|
2588
2588
|
- no-cache
|
2589
2589
|
X-Request-Id:
|
2590
|
-
-
|
2590
|
+
- 9ef70954-6b01-498a-8b25-4c61a9a28170
|
2591
2591
|
X-Runtime:
|
2592
|
-
- '0.
|
2592
|
+
- '0.020304'
|
2593
2593
|
Server:
|
2594
2594
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2595
2595
|
Date:
|
2596
|
-
-
|
2596
|
+
- Wed, 13 May 2015 22:33:11 GMT
|
2597
2597
|
Content-Length:
|
2598
2598
|
- '1486'
|
2599
2599
|
Connection:
|
2600
2600
|
- Keep-Alive
|
2601
2601
|
body:
|
2602
2602
|
encoding: UTF-8
|
2603
|
-
string: "<h2>error getting
|
2603
|
+
string: "<h2>error getting c53b7881-2450-492d-aefc-314c87656903 from LDP</h2><html>\n<head>\n<meta
|
2604
2604
|
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2605
2605
|
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2606
|
-
accessing /fedora/rest/anno/
|
2606
|
+
accessing /fedora/rest/anno/c53b7881-2450-492d-aefc-314c87656903. Reason:\n<pre>
|
2607
2607
|
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2608
2608
|
\ \n<br/> \n<br/>
|
2609
2609
|
\ \n<br/> \n<br/>
|
@@ -2616,300 +2616,5 @@ http_interactions:
|
|
2616
2616
|
\ \n<br/> \n<br/>
|
2617
2617
|
\ \n<br/> \n\n</body>\n</html>\n"
|
2618
2618
|
http_version:
|
2619
|
-
recorded_at:
|
2620
|
-
- request:
|
2621
|
-
method: get
|
2622
|
-
uri: http://localhost:3000/annotations/62bd9bfa-afb3-4a91-8cdc-1088235a29a8
|
2623
|
-
body:
|
2624
|
-
encoding: US-ASCII
|
2625
|
-
string: ''
|
2626
|
-
headers:
|
2627
|
-
Accept:
|
2628
|
-
- application/ld+json
|
2629
|
-
Accept-Encoding:
|
2630
|
-
- gzip, deflate
|
2631
|
-
User-Agent:
|
2632
|
-
- Ruby
|
2633
|
-
response:
|
2634
|
-
status:
|
2635
|
-
code: 404
|
2636
|
-
message: 'Not Found '
|
2637
|
-
headers:
|
2638
|
-
X-Frame-Options:
|
2639
|
-
- SAMEORIGIN
|
2640
|
-
X-Xss-Protection:
|
2641
|
-
- 1; mode=block
|
2642
|
-
X-Content-Type-Options:
|
2643
|
-
- nosniff
|
2644
|
-
Content-Type:
|
2645
|
-
- text/html; charset=utf-8
|
2646
|
-
Cache-Control:
|
2647
|
-
- no-cache
|
2648
|
-
X-Request-Id:
|
2649
|
-
- 2a3794c8-cba4-4168-a809-92b0da074e3a
|
2650
|
-
X-Runtime:
|
2651
|
-
- '0.015693'
|
2652
|
-
Server:
|
2653
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2654
|
-
Date:
|
2655
|
-
- Mon, 11 May 2015 21:52:46 GMT
|
2656
|
-
Content-Length:
|
2657
|
-
- '1486'
|
2658
|
-
Connection:
|
2659
|
-
- Keep-Alive
|
2660
|
-
body:
|
2661
|
-
encoding: UTF-8
|
2662
|
-
string: "<h2>error getting 62bd9bfa-afb3-4a91-8cdc-1088235a29a8 from LDP</h2><html>\n<head>\n<meta
|
2663
|
-
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2664
|
-
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2665
|
-
accessing /fedora/rest/anno/62bd9bfa-afb3-4a91-8cdc-1088235a29a8. Reason:\n<pre>
|
2666
|
-
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2667
|
-
\ \n<br/> \n<br/>
|
2668
|
-
\ \n<br/> \n<br/>
|
2669
|
-
\ \n<br/> \n<br/>
|
2670
|
-
\ \n<br/> \n<br/>
|
2671
|
-
\ \n<br/> \n<br/>
|
2672
|
-
\ \n<br/> \n<br/>
|
2673
|
-
\ \n<br/> \n<br/>
|
2674
|
-
\ \n<br/> \n<br/>
|
2675
|
-
\ \n<br/> \n<br/>
|
2676
|
-
\ \n<br/> \n\n</body>\n</html>\n"
|
2677
|
-
http_version:
|
2678
|
-
recorded_at: Mon, 11 May 2015 21:52:46 GMT
|
2679
|
-
- request:
|
2680
|
-
method: get
|
2681
|
-
uri: http://localhost:3000/annotations/3b7be921-2fda-41d1-891c-f729b47d2b57
|
2682
|
-
body:
|
2683
|
-
encoding: US-ASCII
|
2684
|
-
string: ''
|
2685
|
-
headers:
|
2686
|
-
Accept:
|
2687
|
-
- application/ld+json
|
2688
|
-
Accept-Encoding:
|
2689
|
-
- gzip, deflate
|
2690
|
-
User-Agent:
|
2691
|
-
- Ruby
|
2692
|
-
response:
|
2693
|
-
status:
|
2694
|
-
code: 404
|
2695
|
-
message: 'Not Found '
|
2696
|
-
headers:
|
2697
|
-
X-Frame-Options:
|
2698
|
-
- SAMEORIGIN
|
2699
|
-
X-Xss-Protection:
|
2700
|
-
- 1; mode=block
|
2701
|
-
X-Content-Type-Options:
|
2702
|
-
- nosniff
|
2703
|
-
Content-Type:
|
2704
|
-
- text/html; charset=utf-8
|
2705
|
-
Cache-Control:
|
2706
|
-
- no-cache
|
2707
|
-
X-Request-Id:
|
2708
|
-
- af4d98b9-b3bc-4d6b-bd65-8cd97003a81c
|
2709
|
-
X-Runtime:
|
2710
|
-
- '0.016582'
|
2711
|
-
Server:
|
2712
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2713
|
-
Date:
|
2714
|
-
- Mon, 11 May 2015 21:56:34 GMT
|
2715
|
-
Content-Length:
|
2716
|
-
- '1486'
|
2717
|
-
Connection:
|
2718
|
-
- Keep-Alive
|
2719
|
-
body:
|
2720
|
-
encoding: UTF-8
|
2721
|
-
string: "<h2>error getting 3b7be921-2fda-41d1-891c-f729b47d2b57 from LDP</h2><html>\n<head>\n<meta
|
2722
|
-
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2723
|
-
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2724
|
-
accessing /fedora/rest/anno/3b7be921-2fda-41d1-891c-f729b47d2b57. Reason:\n<pre>
|
2725
|
-
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2726
|
-
\ \n<br/> \n<br/>
|
2727
|
-
\ \n<br/> \n<br/>
|
2728
|
-
\ \n<br/> \n<br/>
|
2729
|
-
\ \n<br/> \n<br/>
|
2730
|
-
\ \n<br/> \n<br/>
|
2731
|
-
\ \n<br/> \n<br/>
|
2732
|
-
\ \n<br/> \n<br/>
|
2733
|
-
\ \n<br/> \n<br/>
|
2734
|
-
\ \n<br/> \n<br/>
|
2735
|
-
\ \n<br/> \n\n</body>\n</html>\n"
|
2736
|
-
http_version:
|
2737
|
-
recorded_at: Mon, 11 May 2015 21:56:34 GMT
|
2738
|
-
- request:
|
2739
|
-
method: get
|
2740
|
-
uri: http://localhost:3000/annotations/d68e3225-643d-4918-88ee-c2a59f6cdf1a
|
2741
|
-
body:
|
2742
|
-
encoding: US-ASCII
|
2743
|
-
string: ''
|
2744
|
-
headers:
|
2745
|
-
Accept:
|
2746
|
-
- application/ld+json
|
2747
|
-
Accept-Encoding:
|
2748
|
-
- gzip, deflate
|
2749
|
-
User-Agent:
|
2750
|
-
- Ruby
|
2751
|
-
response:
|
2752
|
-
status:
|
2753
|
-
code: 404
|
2754
|
-
message: 'Not Found '
|
2755
|
-
headers:
|
2756
|
-
X-Frame-Options:
|
2757
|
-
- SAMEORIGIN
|
2758
|
-
X-Xss-Protection:
|
2759
|
-
- 1; mode=block
|
2760
|
-
X-Content-Type-Options:
|
2761
|
-
- nosniff
|
2762
|
-
Content-Type:
|
2763
|
-
- text/html; charset=utf-8
|
2764
|
-
Cache-Control:
|
2765
|
-
- no-cache
|
2766
|
-
X-Request-Id:
|
2767
|
-
- 4c1aac04-9ef0-4169-9b71-b27462c2eea2
|
2768
|
-
X-Runtime:
|
2769
|
-
- '0.018669'
|
2770
|
-
Server:
|
2771
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2772
|
-
Date:
|
2773
|
-
- Mon, 11 May 2015 21:58:14 GMT
|
2774
|
-
Content-Length:
|
2775
|
-
- '1486'
|
2776
|
-
Connection:
|
2777
|
-
- Keep-Alive
|
2778
|
-
body:
|
2779
|
-
encoding: UTF-8
|
2780
|
-
string: "<h2>error getting d68e3225-643d-4918-88ee-c2a59f6cdf1a from LDP</h2><html>\n<head>\n<meta
|
2781
|
-
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2782
|
-
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2783
|
-
accessing /fedora/rest/anno/d68e3225-643d-4918-88ee-c2a59f6cdf1a. Reason:\n<pre>
|
2784
|
-
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2785
|
-
\ \n<br/> \n<br/>
|
2786
|
-
\ \n<br/> \n<br/>
|
2787
|
-
\ \n<br/> \n<br/>
|
2788
|
-
\ \n<br/> \n<br/>
|
2789
|
-
\ \n<br/> \n<br/>
|
2790
|
-
\ \n<br/> \n<br/>
|
2791
|
-
\ \n<br/> \n<br/>
|
2792
|
-
\ \n<br/> \n<br/>
|
2793
|
-
\ \n<br/> \n<br/>
|
2794
|
-
\ \n<br/> \n\n</body>\n</html>\n"
|
2795
|
-
http_version:
|
2796
|
-
recorded_at: Mon, 11 May 2015 21:58:14 GMT
|
2797
|
-
- request:
|
2798
|
-
method: get
|
2799
|
-
uri: http://localhost:3000/annotations/a1421b7a-b54f-4ea6-90ad-36af7a1097b5
|
2800
|
-
body:
|
2801
|
-
encoding: US-ASCII
|
2802
|
-
string: ''
|
2803
|
-
headers:
|
2804
|
-
Accept:
|
2805
|
-
- application/ld+json
|
2806
|
-
Accept-Encoding:
|
2807
|
-
- gzip, deflate
|
2808
|
-
User-Agent:
|
2809
|
-
- Ruby
|
2810
|
-
response:
|
2811
|
-
status:
|
2812
|
-
code: 404
|
2813
|
-
message: 'Not Found '
|
2814
|
-
headers:
|
2815
|
-
X-Frame-Options:
|
2816
|
-
- SAMEORIGIN
|
2817
|
-
X-Xss-Protection:
|
2818
|
-
- 1; mode=block
|
2819
|
-
X-Content-Type-Options:
|
2820
|
-
- nosniff
|
2821
|
-
Content-Type:
|
2822
|
-
- text/html; charset=utf-8
|
2823
|
-
Cache-Control:
|
2824
|
-
- no-cache
|
2825
|
-
X-Request-Id:
|
2826
|
-
- aa4b8f25-c70e-49a5-952a-a733c7ca6914
|
2827
|
-
X-Runtime:
|
2828
|
-
- '0.020658'
|
2829
|
-
Server:
|
2830
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2831
|
-
Date:
|
2832
|
-
- Mon, 11 May 2015 22:11:54 GMT
|
2833
|
-
Content-Length:
|
2834
|
-
- '1486'
|
2835
|
-
Connection:
|
2836
|
-
- Keep-Alive
|
2837
|
-
body:
|
2838
|
-
encoding: UTF-8
|
2839
|
-
string: "<h2>error getting a1421b7a-b54f-4ea6-90ad-36af7a1097b5 from LDP</h2><html>\n<head>\n<meta
|
2840
|
-
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2841
|
-
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2842
|
-
accessing /fedora/rest/anno/a1421b7a-b54f-4ea6-90ad-36af7a1097b5. Reason:\n<pre>
|
2843
|
-
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2844
|
-
\ \n<br/> \n<br/>
|
2845
|
-
\ \n<br/> \n<br/>
|
2846
|
-
\ \n<br/> \n<br/>
|
2847
|
-
\ \n<br/> \n<br/>
|
2848
|
-
\ \n<br/> \n<br/>
|
2849
|
-
\ \n<br/> \n<br/>
|
2850
|
-
\ \n<br/> \n<br/>
|
2851
|
-
\ \n<br/> \n<br/>
|
2852
|
-
\ \n<br/> \n<br/>
|
2853
|
-
\ \n<br/> \n\n</body>\n</html>\n"
|
2854
|
-
http_version:
|
2855
|
-
recorded_at: Mon, 11 May 2015 22:11:54 GMT
|
2856
|
-
- request:
|
2857
|
-
method: get
|
2858
|
-
uri: http://localhost:3000/annotations/f75cc32a-a650-4469-bc9a-ecabe9ffeae8
|
2859
|
-
body:
|
2860
|
-
encoding: US-ASCII
|
2861
|
-
string: ''
|
2862
|
-
headers:
|
2863
|
-
Accept:
|
2864
|
-
- application/ld+json
|
2865
|
-
Accept-Encoding:
|
2866
|
-
- gzip, deflate
|
2867
|
-
User-Agent:
|
2868
|
-
- Ruby
|
2869
|
-
response:
|
2870
|
-
status:
|
2871
|
-
code: 404
|
2872
|
-
message: 'Not Found '
|
2873
|
-
headers:
|
2874
|
-
X-Frame-Options:
|
2875
|
-
- SAMEORIGIN
|
2876
|
-
X-Xss-Protection:
|
2877
|
-
- 1; mode=block
|
2878
|
-
X-Content-Type-Options:
|
2879
|
-
- nosniff
|
2880
|
-
Content-Type:
|
2881
|
-
- text/html; charset=utf-8
|
2882
|
-
Cache-Control:
|
2883
|
-
- no-cache
|
2884
|
-
X-Request-Id:
|
2885
|
-
- f2d1d26a-7de3-410b-b7eb-139e5d4b656d
|
2886
|
-
X-Runtime:
|
2887
|
-
- '0.016485'
|
2888
|
-
Server:
|
2889
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2890
|
-
Date:
|
2891
|
-
- Mon, 11 May 2015 22:14:30 GMT
|
2892
|
-
Content-Length:
|
2893
|
-
- '1486'
|
2894
|
-
Connection:
|
2895
|
-
- Keep-Alive
|
2896
|
-
body:
|
2897
|
-
encoding: UTF-8
|
2898
|
-
string: "<h2>error getting f75cc32a-a650-4469-bc9a-ecabe9ffeae8 from LDP</h2><html>\n<head>\n<meta
|
2899
|
-
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2900
|
-
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2901
|
-
accessing /fedora/rest/anno/f75cc32a-a650-4469-bc9a-ecabe9ffeae8. Reason:\n<pre>
|
2902
|
-
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2903
|
-
\ \n<br/> \n<br/>
|
2904
|
-
\ \n<br/> \n<br/>
|
2905
|
-
\ \n<br/> \n<br/>
|
2906
|
-
\ \n<br/> \n<br/>
|
2907
|
-
\ \n<br/> \n<br/>
|
2908
|
-
\ \n<br/> \n<br/>
|
2909
|
-
\ \n<br/> \n<br/>
|
2910
|
-
\ \n<br/> \n<br/>
|
2911
|
-
\ \n<br/> \n<br/>
|
2912
|
-
\ \n<br/> \n\n</body>\n</html>\n"
|
2913
|
-
http_version:
|
2914
|
-
recorded_at: Mon, 11 May 2015 22:14:30 GMT
|
2619
|
+
recorded_at: Wed, 13 May 2015 22:33:11 GMT
|
2915
2620
|
recorded_with: VCR 2.9.3
|