triannon-client 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env_example +1 -1
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +432 -513
- 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 +50 -50
- 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 +38 -38
- 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 +37 -37
- 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 +37 -37
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +29 -29
- 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 +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +29 -29
- 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 +29 -29
- 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 +29 -29
- 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 +37 -155
- 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 +50 -50
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +46 -46
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +50 -50
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_404_responses_.yml +8 -8
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_410_responses_.yml +8 -8
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/logs_exceptions.yml +8 -8
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_FALSE_for_a_500_response_to_a_DELETE_request.yml +12 -11
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_200_response_to_a_DELETE_request.yml +12 -11
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_202_response_to_a_DELETE_request.yml +12 -11
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_204_response_to_a_DELETE_request.yml +12 -11
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_404_response_to_a_DELETE_request.yml +12 -11
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_410_response_to_a_DELETE_request.yml +12 -11
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_does_NOT_exist.yml +18 -18
- data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_exists.yml +38 -38
- 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 +24 -24
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +24 -24
- data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +54 -54
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions.yml +1377 -1623
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions_for_RestClient_Exception.yml +1377 -1623
- data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_RDF_URI_that_is_a_valid_URI.yml +38 -38
- 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 +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +41 -41
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +29 -29
- data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +29 -29
- data/triannon-client.gemspec +1 -1
- metadata +2 -2
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://localhost:3000/annotations/
|
5
|
+
uri: http://localhost:3000/annotations/foo/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: commit=Create%20Annotation&annotation[data]=%7B%22%40context%22%3A%22http%3A%2F%2Fiiif.io%2Fapi%2Fpresentation%2F2%2Fcontext.json%22%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22_%3Ag70349699654640%22%2C%22%40type%22%3A%5B%22dctypes%3AText%22%2C%22cnt%3AContentAsText%22%5D%2C%22chars%22%3A%22I%20love%20this!%22%2C%22format%22%3A%22text%2Fplain%22%2C%22language%22%3A%22en%22%7D%2C%7B%22%40type%22%3A%22oa%3AAnnotation%22%2C%22motivation%22%3A%22oa%3Acommenting%22%2C%22on%22%3A%22http%3A%2F%2Fpurl.stanford.edu%2Fkq131cs7229%22%2C%22resource%22%3A%22_%3Ag70349699654640%22%7D%5D%7D
|
@@ -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/"32dc59a3fcc0a635b899404d74edff93"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 516705ca-9acb-4e77-a42c-c9bf54e34ade
|
39
39
|
X-Runtime:
|
40
|
-
- '
|
40
|
+
- '2.003141'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Fri, 19 Jun 2015 18:40:32 GMT
|
45
45
|
Content-Length:
|
46
|
-
- '
|
46
|
+
- '447'
|
47
47
|
Connection:
|
48
48
|
- Keep-Alive
|
49
49
|
Set-Cookie:
|
50
|
-
- _internal_session=
|
50
|
+
- _internal_session=L0c4azFjbFhKZFQ1U2xzSHJJWjRjb3daQmZWWlpwK29OM1RibmRqeU9jeXhhbXhuSVJPbWZaemlXUjFabnhIdlNWYk1UeUtobXBHVS96ZjRUaG0vRnV1RjgvSlVQNjdPYzZVV0Z2dXRXTVVtd3RRNWovajFKQXUwZ1dDZ0NiZEw2NUxEcFdQdE5xWFBaQTJPZi85UlM3QmtNakcxRzVKTGl2c0cxUXhrS0xZQ1RERzRFd3lSQmNwd04vTDZEWElObmxEQ2YvYmF0NjVsRXp0dWZTTFM0SE91S3kyaWZheFU1Ri9KVEJ4cENTck4rWVF4U2xaNCtaR0krT2oveUNiSS0tOGdRVThDRUpBTlo3RkpTZGtYd1hrdz09--a401ff56ce4c4264c60e36fdace018c8d326e0cc;
|
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":"_:g70154575766760","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/dd/34/e5/09/dd34e509-f8af-48a9-b013-16a2c5e484fe","@type":"oa:Annotation","hasBody":"_:g70154575766760","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 19 Jun 2015 18:40:32 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
|
+
- Fri, 19 Jun 2015 18:40:32 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
|
+
- Sat, 20 Jun 2015 00:40:32 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: Fri, 19 Jun 2015 18:40:32 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
|
+
- Fri, 19 Jun 2015 18:40:33 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
|
+
- Sat, 20 Jun 2015 00:40:33 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: Fri, 19 Jun 2015 18:40:33 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
|
+
- Fri, 19 Jun 2015 18:40:33 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
|
+
- Sat, 20 Jun 2015 00:40:33 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: Fri, 19 Jun 2015 18:40:33 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
|
+
- Fri, 19 Jun 2015 18:40:33 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
|
+
- Sat, 20 Jun 2015 00:40:33 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: Fri, 19 Jun 2015 18:40:33 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: get
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/foo/0cd54f9b-2d1c-4cf4-acb6-562c9cec68a4
|
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
|
+
- 78b298b6-89d6-40e1-9aae-ddd5d2ae5296
|
2485
2485
|
X-Runtime:
|
2486
|
-
- '0.
|
2486
|
+
- '0.019212'
|
2487
2487
|
Server:
|
2488
2488
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2489
2489
|
Date:
|
2490
|
-
-
|
2490
|
+
- Fri, 19 Jun 2015 18:40:34 GMT
|
2491
2491
|
Content-Length:
|
2492
|
-
- '
|
2492
|
+
- '1494'
|
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 foo/0cd54f9b-2d1c-4cf4-acb6-562c9cec68a4 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/foo/0cd54f9b-2d1c-4cf4-acb6-562c9cec68a4. 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: Fri, 19 Jun 2015 18:40:34 GMT
|
2514
2514
|
- request:
|
2515
2515
|
method: delete
|
2516
|
-
uri: http://localhost:3000/annotations/
|
2516
|
+
uri: http://localhost:3000/annotations/foo/dd%2F34%2Fe5%2F09%2Fdd34e509-f8af-48a9-b013-16a2c5e484fe
|
2517
2517
|
body:
|
2518
2518
|
encoding: US-ASCII
|
2519
2519
|
string: ''
|
@@ -2536,144 +2536,26 @@ http_interactions:
|
|
2536
2536
|
X-Content-Type-Options:
|
2537
2537
|
- nosniff
|
2538
2538
|
Location:
|
2539
|
-
- http://localhost:3000/annotations
|
2539
|
+
- http://localhost:3000/annotations?anno_root=foo
|
2540
2540
|
Cache-Control:
|
2541
2541
|
- no-cache
|
2542
2542
|
X-Request-Id:
|
2543
|
-
-
|
2543
|
+
- ec2dec28-5f28-4af3-bc97-e57830d7508f
|
2544
2544
|
X-Runtime:
|
2545
|
-
- '0.
|
2545
|
+
- '0.214787'
|
2546
2546
|
Server:
|
2547
2547
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2548
2548
|
Date:
|
2549
|
-
-
|
2549
|
+
- Fri, 19 Jun 2015 18:40:34 GMT
|
2550
2550
|
Connection:
|
2551
2551
|
- Keep-Alive
|
2552
2552
|
Set-Cookie:
|
2553
|
-
- _internal_session=
|
2553
|
+
- _internal_session=MGo0M0FtNkxEVTlqVGFYNlFxOXoraHoxQS9JRENIWWJ1dVhuMm02M3FxWmtMTndXL3lnRmhTU1NnUUJEVWpTT3MrWjFHQU5UTUdaNDFNb3Y3bGsxRDZva0Vaem4yei94OGdFeGxOQnNaOFg5dXFuQWZoaXh6ejhvMlVyMUVoVlJpZUtnanhiVTdwUkR6MTJ2a3ljWFNJVW10N2t5QTllaG5UU2xQSTlSTEdqNlV5eEdqVEVEYmJtZnBhemlCOXIyLS16VnY0Vm40YzF4U3lid0I4Qi9HY3p3PT0%3D--ed83cd34d62ae53800e98a64718078438ffde753;
|
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:
|
2561
|
-
- request:
|
2562
|
-
method: get
|
2563
|
-
uri: http://localhost:3000/annotations/5d734f85-1021-4e2c-8741-12078844321a
|
2564
|
-
body:
|
2565
|
-
encoding: US-ASCII
|
2566
|
-
string: ''
|
2567
|
-
headers:
|
2568
|
-
Accept:
|
2569
|
-
- application/ld+json
|
2570
|
-
Accept-Encoding:
|
2571
|
-
- gzip, deflate
|
2572
|
-
User-Agent:
|
2573
|
-
- Ruby
|
2574
|
-
response:
|
2575
|
-
status:
|
2576
|
-
code: 404
|
2577
|
-
message: 'Not Found '
|
2578
|
-
headers:
|
2579
|
-
X-Frame-Options:
|
2580
|
-
- SAMEORIGIN
|
2581
|
-
X-Xss-Protection:
|
2582
|
-
- 1; mode=block
|
2583
|
-
X-Content-Type-Options:
|
2584
|
-
- nosniff
|
2585
|
-
Content-Type:
|
2586
|
-
- text/html; charset=utf-8
|
2587
|
-
Cache-Control:
|
2588
|
-
- no-cache
|
2589
|
-
X-Request-Id:
|
2590
|
-
- 8806df22-8c39-4b50-b838-73fb5c7f74b2
|
2591
|
-
X-Runtime:
|
2592
|
-
- '0.046614'
|
2593
|
-
Server:
|
2594
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2595
|
-
Date:
|
2596
|
-
- Mon, 18 May 2015 20:25:48 GMT
|
2597
|
-
Content-Length:
|
2598
|
-
- '1486'
|
2599
|
-
Connection:
|
2600
|
-
- Keep-Alive
|
2601
|
-
body:
|
2602
|
-
encoding: UTF-8
|
2603
|
-
string: "<h2>error getting 5d734f85-1021-4e2c-8741-12078844321a from LDP</h2><html>\n<head>\n<meta
|
2604
|
-
http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
|
2605
|
-
404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
|
2606
|
-
accessing /fedora/rest/anno/5d734f85-1021-4e2c-8741-12078844321a. Reason:\n<pre>
|
2607
|
-
\ Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>
|
2608
|
-
\ \n<br/> \n<br/>
|
2609
|
-
\ \n<br/> \n<br/>
|
2610
|
-
\ \n<br/> \n<br/>
|
2611
|
-
\ \n<br/> \n<br/>
|
2612
|
-
\ \n<br/> \n<br/>
|
2613
|
-
\ \n<br/> \n<br/>
|
2614
|
-
\ \n<br/> \n<br/>
|
2615
|
-
\ \n<br/> \n<br/>
|
2616
|
-
\ \n<br/> \n<br/>
|
2617
|
-
\ \n<br/> \n\n</body>\n</html>\n"
|
2618
|
-
http_version:
|
2619
|
-
recorded_at: Mon, 18 May 2015 20:25:48 GMT
|
2620
|
-
- request:
|
2621
|
-
method: get
|
2622
|
-
uri: http://localhost:3000/annotations/ccd58cc7-2381-4532-9b58-7bf8d8ee80c0
|
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
|
-
- 6f3e1a8f-52c6-46b9-8c5c-6e5805700380
|
2650
|
-
X-Runtime:
|
2651
|
-
- '0.047557'
|
2652
|
-
Server:
|
2653
|
-
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2654
|
-
Date:
|
2655
|
-
- Mon, 18 May 2015 20:30:55 GMT
|
2656
|
-
Content-Length:
|
2657
|
-
- '1486'
|
2658
|
-
Connection:
|
2659
|
-
- Keep-Alive
|
2660
|
-
body:
|
2661
|
-
encoding: UTF-8
|
2662
|
-
string: "<h2>error getting ccd58cc7-2381-4532-9b58-7bf8d8ee80c0 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/ccd58cc7-2381-4532-9b58-7bf8d8ee80c0. 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, 18 May 2015 20:30:55 GMT
|
2560
|
+
recorded_at: Fri, 19 Jun 2015 18:40:34 GMT
|
2679
2561
|
recorded_with: VCR 2.9.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://localhost:3000/annotations/
|
5
|
+
uri: http://localhost:3000/annotations/foo/
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: commit=Create%20Annotation&annotation[data]=%7B%22%40context%22%3A%22http%3A%2F%2Fiiif.io%2Fapi%2Fpresentation%2F2%2Fcontext.json%22%2C%22%40graph%22%3A%5B%7B%22%40id%22%3A%22_%3Ag70349699654640%22%2C%22%40type%22%3A%5B%22dctypes%3AText%22%2C%22cnt%3AContentAsText%22%5D%2C%22chars%22%3A%22I%20love%20this!%22%2C%22format%22%3A%22text%2Fplain%22%2C%22language%22%3A%22en%22%7D%2C%7B%22%40type%22%3A%22oa%3AAnnotation%22%2C%22motivation%22%3A%22oa%3Acommenting%22%2C%22on%22%3A%22http%3A%2F%2Fpurl.stanford.edu%2Fkq131cs7229%22%2C%22resource%22%3A%22_%3Ag70349699654640%22%7D%5D%7D
|
@@ -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/"73125623abec10dc19d4095bc15d3939"
|
35
35
|
Cache-Control:
|
36
36
|
- max-age=0, private, must-revalidate
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- 3dca97ea-0ad6-46ac-b2f9-e4dc258719bc
|
39
39
|
X-Runtime:
|
40
|
-
- '1.
|
40
|
+
- '1.941591'
|
41
41
|
Server:
|
42
42
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
43
43
|
Date:
|
44
|
-
-
|
44
|
+
- Fri, 19 Jun 2015 18:40:26 GMT
|
45
45
|
Content-Length:
|
46
|
-
- '
|
46
|
+
- '447'
|
47
47
|
Connection:
|
48
48
|
- Keep-Alive
|
49
49
|
Set-Cookie:
|
50
|
-
- _internal_session=
|
50
|
+
- _internal_session=ZjQyekRLRUQ2OVhmbDAyeWZZYzlSWjZNUDY2VmJXalBCci8za2M4RTNVb0NQV3FCTGozbmUrUlVQdUVUYURxMVB6Smt5S0JqaVNmZlhyVXUvWTJzd0xlVG1oaDVMV1lacVpNNzdzYXZzSFcydEtTV1kzak1YY3cxbHRoM3lmRFhNR3diVURCUFBtRGNjK1U0TUtFNSt0Nmx6NVBBa2ZmWE5yZHRURHFNWnR4Zzl1VmdNNHMrZytzVmMrTTNSdWhKZ202RDIzZ1pDWVJ0bllGaGVRaWUvR1lZTmNPaEFGS0dMUmdtZnE4dVZ0YTY4OE5xV1VNVjY2cGZGaW0yTExhWi0tWkVOeEJDQ3VFUmloRTJSTEdadHhSZz09--2f369d78140f726153ebc9cdd0344b1c087f7a99;
|
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":"_:g70154575609800","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
56
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/d1/32/55/19/d1325519-02da-4f31-97de-0dbe176726cb","@type":"oa:Annotation","hasBody":"_:g70154575609800","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
57
57
|
http_version:
|
58
|
-
recorded_at:
|
58
|
+
recorded_at: Fri, 19 Jun 2015 18:40:26 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
|
+
- Fri, 19 Jun 2015 18:40:26 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
|
+
- Sat, 20 Jun 2015 00:40:26 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: Fri, 19 Jun 2015 18:40:26 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
|
+
- Fri, 19 Jun 2015 18:40:26 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
|
+
- Sat, 20 Jun 2015 00:40:26 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: Fri, 19 Jun 2015 18:40:26 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
|
+
- Fri, 19 Jun 2015 18:40:27 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
|
+
- Sat, 20 Jun 2015 00:40:27 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: Fri, 19 Jun 2015 18:40:27 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
|
+
- Fri, 19 Jun 2015 18:40:27 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
|
+
- Sat, 20 Jun 2015 00:40:27 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: Fri, 19 Jun 2015 18:40:27 GMT
|
2455
2455
|
- request:
|
2456
2456
|
method: get
|
2457
|
-
uri: http://localhost:3000/annotations/
|
2457
|
+
uri: http://localhost:3000/annotations/foo/d1%2F32%2F55%2F19%2Fd1325519-02da-4f31-97de-0dbe176726cb
|
2458
2458
|
body:
|
2459
2459
|
encoding: US-ASCII
|
2460
2460
|
string: ''
|
@@ -2479,27 +2479,27 @@ http_interactions:
|
|
2479
2479
|
Content-Type:
|
2480
2480
|
- application/ld+json; charset=utf-8
|
2481
2481
|
Etag:
|
2482
|
-
- W/"
|
2482
|
+
- W/"267dff4b8527f087e440c06314f0687b"
|
2483
2483
|
Cache-Control:
|
2484
2484
|
- max-age=0, private, must-revalidate
|
2485
2485
|
X-Request-Id:
|
2486
|
-
-
|
2486
|
+
- d59e9557-9442-4ac3-a2ae-0ea9549f85cc
|
2487
2487
|
X-Runtime:
|
2488
|
-
- '0.
|
2488
|
+
- '0.899110'
|
2489
2489
|
Server:
|
2490
2490
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
2491
2491
|
Date:
|
2492
|
-
-
|
2492
|
+
- Fri, 19 Jun 2015 18:40:28 GMT
|
2493
2493
|
Content-Length:
|
2494
|
-
- '
|
2494
|
+
- '447'
|
2495
2495
|
Connection:
|
2496
2496
|
- Keep-Alive
|
2497
2497
|
body:
|
2498
2498
|
encoding: UTF-8
|
2499
|
-
string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:
|
2500
|
-
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/
|
2499
|
+
string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154449025860","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
|
2500
|
+
love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/d1/32/55/19/d1325519-02da-4f31-97de-0dbe176726cb","@type":"oa:Annotation","hasBody":"_:g70154449025860","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
|
2501
2501
|
http_version:
|
2502
|
-
recorded_at:
|
2502
|
+
recorded_at: Fri, 19 Jun 2015 18:40:28 GMT
|
2503
2503
|
- request:
|
2504
2504
|
method: get
|
2505
2505
|
uri: http://www.w3.org/ns/oa-context-20130208.json
|
@@ -2519,7 +2519,7 @@ http_interactions:
|
|
2519
2519
|
message: Temporary Redirect
|
2520
2520
|
headers:
|
2521
2521
|
Date:
|
2522
|
-
-
|
2522
|
+
- Fri, 19 Jun 2015 18:40:28 GMT
|
2523
2523
|
Server:
|
2524
2524
|
- Apache/2
|
2525
2525
|
Location:
|
@@ -2527,7 +2527,7 @@ http_interactions:
|
|
2527
2527
|
Cache-Control:
|
2528
2528
|
- max-age=21600
|
2529
2529
|
Expires:
|
2530
|
-
-
|
2530
|
+
- Sat, 20 Jun 2015 00:40:28 GMT
|
2531
2531
|
Content-Length:
|
2532
2532
|
- '240'
|
2533
2533
|
Content-Type:
|
@@ -2543,7 +2543,7 @@ http_interactions:
|
|
2543
2543
|
<p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
|
2544
2544
|
</body></html>
|
2545
2545
|
http_version:
|
2546
|
-
recorded_at:
|
2546
|
+
recorded_at: Fri, 19 Jun 2015 18:40:28 GMT
|
2547
2547
|
- request:
|
2548
2548
|
method: get
|
2549
2549
|
uri: http://www.w3.org/ns/oa.jsonld
|
@@ -2565,7 +2565,7 @@ http_interactions:
|
|
2565
2565
|
message: OK
|
2566
2566
|
headers:
|
2567
2567
|
Date:
|
2568
|
-
-
|
2568
|
+
- Fri, 19 Jun 2015 18:40:29 GMT
|
2569
2569
|
Server:
|
2570
2570
|
- Apache/2
|
2571
2571
|
Last-Modified:
|
@@ -2579,7 +2579,7 @@ http_interactions:
|
|
2579
2579
|
Cache-Control:
|
2580
2580
|
- max-age=21600
|
2581
2581
|
Expires:
|
2582
|
-
-
|
2582
|
+
- Sat, 20 Jun 2015 00:40:29 GMT
|
2583
2583
|
P3p:
|
2584
2584
|
- policyref="http://www.w3.org/2014/08/p3p.xml"
|
2585
2585
|
Access-Control-Allow-Origin:
|
@@ -3697,7 +3697,7 @@ http_interactions:
|
|
3697
3697
|
|
3698
3698
|
|
3699
3699
|
http_version:
|
3700
|
-
recorded_at:
|
3700
|
+
recorded_at: Fri, 19 Jun 2015 18:40:29 GMT
|
3701
3701
|
- request:
|
3702
3702
|
method: get
|
3703
3703
|
uri: http://www.w3.org/ns/oa-context-20130208.json
|
@@ -3717,7 +3717,7 @@ http_interactions:
|
|
3717
3717
|
message: Temporary Redirect
|
3718
3718
|
headers:
|
3719
3719
|
Date:
|
3720
|
-
-
|
3720
|
+
- Fri, 19 Jun 2015 18:40:29 GMT
|
3721
3721
|
Server:
|
3722
3722
|
- Apache/2
|
3723
3723
|
Location:
|
@@ -3725,7 +3725,7 @@ http_interactions:
|
|
3725
3725
|
Cache-Control:
|
3726
3726
|
- max-age=21600
|
3727
3727
|
Expires:
|
3728
|
-
-
|
3728
|
+
- Sat, 20 Jun 2015 00:40:29 GMT
|
3729
3729
|
Content-Length:
|
3730
3730
|
- '240'
|
3731
3731
|
Content-Type:
|
@@ -3741,7 +3741,7 @@ http_interactions:
|
|
3741
3741
|
<p>The document has moved <a href="http://www.w3.org/ns/oa.jsonld">here</a>.</p>
|
3742
3742
|
</body></html>
|
3743
3743
|
http_version:
|
3744
|
-
recorded_at:
|
3744
|
+
recorded_at: Fri, 19 Jun 2015 18:40:29 GMT
|
3745
3745
|
- request:
|
3746
3746
|
method: get
|
3747
3747
|
uri: http://www.w3.org/ns/oa.jsonld
|
@@ -3763,7 +3763,7 @@ http_interactions:
|
|
3763
3763
|
message: OK
|
3764
3764
|
headers:
|
3765
3765
|
Date:
|
3766
|
-
-
|
3766
|
+
- Fri, 19 Jun 2015 18:40:30 GMT
|
3767
3767
|
Server:
|
3768
3768
|
- Apache/2
|
3769
3769
|
Last-Modified:
|
@@ -3777,7 +3777,7 @@ http_interactions:
|
|
3777
3777
|
Cache-Control:
|
3778
3778
|
- max-age=21600
|
3779
3779
|
Expires:
|
3780
|
-
-
|
3780
|
+
- Sat, 20 Jun 2015 00:40:30 GMT
|
3781
3781
|
P3p:
|
3782
3782
|
- policyref="http://www.w3.org/2014/08/p3p.xml"
|
3783
3783
|
Access-Control-Allow-Origin:
|
@@ -4895,10 +4895,10 @@ http_interactions:
|
|
4895
4895
|
|
4896
4896
|
|
4897
4897
|
http_version:
|
4898
|
-
recorded_at:
|
4898
|
+
recorded_at: Fri, 19 Jun 2015 18:40:30 GMT
|
4899
4899
|
- request:
|
4900
4900
|
method: delete
|
4901
|
-
uri: http://localhost:3000/annotations/
|
4901
|
+
uri: http://localhost:3000/annotations/foo/d1%2F32%2F55%2F19%2Fd1325519-02da-4f31-97de-0dbe176726cb
|
4902
4902
|
body:
|
4903
4903
|
encoding: US-ASCII
|
4904
4904
|
string: ''
|
@@ -4921,26 +4921,26 @@ http_interactions:
|
|
4921
4921
|
X-Content-Type-Options:
|
4922
4922
|
- nosniff
|
4923
4923
|
Location:
|
4924
|
-
- http://localhost:3000/annotations
|
4924
|
+
- http://localhost:3000/annotations?anno_root=foo
|
4925
4925
|
Cache-Control:
|
4926
4926
|
- no-cache
|
4927
4927
|
X-Request-Id:
|
4928
|
-
-
|
4928
|
+
- f795919b-286a-42cb-abb3-e4821283432a
|
4929
4929
|
X-Runtime:
|
4930
|
-
- '0.
|
4930
|
+
- '0.228148'
|
4931
4931
|
Server:
|
4932
4932
|
- WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
|
4933
4933
|
Date:
|
4934
|
-
-
|
4934
|
+
- Fri, 19 Jun 2015 18:40:30 GMT
|
4935
4935
|
Connection:
|
4936
4936
|
- Keep-Alive
|
4937
4937
|
Set-Cookie:
|
4938
|
-
- _internal_session=
|
4938
|
+
- _internal_session=dmZMWW8rTWJHd1ZKYWhvaU9oRFNSbDg2emRXQS9wRkd5UFQ1Y0k0RlVlYUh6ZTk4cDZVdG94M3hGMkpXWCtiOWRvNHovRC9YaVRaWHlIaXpSQ0NmcVZkMGFDaVRFZjYvM3pTcWVnMktDT0NtTUJiRXhNNzkwKzc3cjVUUXRiVXRDV2NGOVdkMGxSSy9iKzVWZUxWL3hDdjNzaHVpSXlRYlpYVkZ0TnlMSFVZRHFDWjBnOUtoRVpoYklMWFllV2lsLS1qMHJPYmovalM4Z2s2emZaY2lCc1RnPT0%3D--6e55237e31c1b74a9288b20f8dc23fb6a2ecdcbf;
|
4939
4939
|
path=/; HttpOnly
|
4940
4940
|
- request_method=DELETE; path=/
|
4941
4941
|
body:
|
4942
4942
|
encoding: UTF-8
|
4943
4943
|
string: ''
|
4944
4944
|
http_version:
|
4945
|
-
recorded_at:
|
4945
|
+
recorded_at: Fri, 19 Jun 2015 18:40:30 GMT
|
4946
4946
|
recorded_with: VCR 2.9.3
|