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.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.env_example +1 -1
  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 +432 -513
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  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 +29 -29
  27. 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
  28. 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
  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
  30. 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
  31. 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
  32. 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
  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_text/rdf_n3_.yml +29 -29
  34. 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
  35. 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
  36. 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
  37. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +29 -29
  38. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +29 -29
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  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 +29 -29
  47. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +46 -46
  48. 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
  49. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +50 -50
  50. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_404_responses_.yml +8 -8
  51. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/does_not_log_exceptions_for_missing_annotations_410_responses_.yml +8 -8
  52. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/logs_exceptions.yml +8 -8
  53. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_FALSE_for_a_500_response_to_a_DELETE_request.yml +12 -11
  54. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_200_response_to_a_DELETE_request.yml +12 -11
  55. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_202_response_to_a_DELETE_request.yml +12 -11
  56. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_204_response_to_a_DELETE_request.yml +12 -11
  57. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_404_response_to_a_DELETE_request.yml +12 -11
  58. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_for_a_410_response_to_a_DELETE_request.yml +12 -11
  59. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_does_NOT_exist.yml +18 -18
  60. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_TRUE_when_deleting_an_open_annotation_that_exists.yml +38 -38
  61. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +8 -8
  62. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +24 -24
  63. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +24 -24
  64. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +54 -54
  65. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +29 -29
  66. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions.yml +1377 -1623
  67. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/logs_exceptions_for_RestClient_Exception.yml +1377 -1623
  68. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +29 -29
  69. 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
  70. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +29 -29
  71. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uris/returns_an_RDF_URI_that_is_a_valid_URI.yml +38 -38
  72. 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
  73. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +41 -41
  74. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +29 -29
  75. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +29 -29
  76. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +29 -29
  77. data/triannon-client.gemspec +1 -1
  78. 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/"608d9b7a2e56f5f32413ae7f6cf2955b"
34
+ - W/"677252ee0890bbc04791ba9adeee1fd6"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 2dfec735-eb0d-4847-bed2-41aeae282d74
38
+ - bff84605-cf20-4a04-9dd1-ddf3655dcc83
39
39
  X-Runtime:
40
- - '1.664625'
40
+ - '1.680521'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 18 May 2015 20:06:29 GMT
44
+ - Fri, 19 Jun 2015 18:38:03 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=VjV1bTRhdnJ2MHZwQWZYUzNyeFRteTcyTDZwK3ZXeVY3S0Q2RUIrTEZlTTB5eGlvbER5M0V6UzBHVWkxV0RLcnMzMmp6ajloZkFYRERYYjRoT0xiSHdqTVZxUExWVkVtRE5GZy9UYXdmT0w2WlJvNnVnbkZHZVN0MXZkb3FtdTgyQWhraHhZVUtBdFVrR0RmQURXeFMydStyRlphUXdjbjQ0S3NmYmt0c3JSM2tuQWtkU2NyejgwN24rL0RRNVBNMUFFK1kzYXVhNWZnNWgwSjFjRFIza1FoNEg2ZHJ1SGxrTGo5R0wvc1EvOEt6Y0sxS21PYmIwZitvWDllWmI5VS0tUitkYWltM3JqUEt1aVIyRGx4OEhGQT09--93b2991f3a58da66611ac32a396a99b9571c6a2f;
50
+ - _internal_session=clN2YWJTRkowKy9MSmx0dndVa3lVR2I0NVJMRXA0N0p1ZUJVNTZsbUNjMWUxMDQyMzF6b3IzUzZudjI0a2xCNUlGRmVINWV1SXNPQ1BJcWFvMVNhYUdhQ2FEVTFLcmZFUVBIc1JpRWdNOUVYQ2xWVmpjWTRYanJ4TjE5aGZhQWxUUFJUKzBFNTBOSmRlai92bUdFV05wSjd1VkMxZXNrRU95OGh3WmFHNUc1TUZNNUFFWUozajVhMlJoVTVNMkYwWFpWc0M0U2hnWGRMVFdqVytlYWdzUjMxNVk2S0psczloRVdlaFVyeGRiaTVRN3Eza1U3S0k3bWtQNU5HVkR6ZS0tQlJ5WWRsNGwwSVNQME9HR0d1SGlBZz09--7e5c2def3aa4635d7d65e6c8bac90041cb710426;
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":"_:g70310858496280","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/5e/4d/b9/08/5e4db908-8e08-4477-b895-93a1d8929aec","@type":"oa:Annotation","hasBody":"_:g70310858496280","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154448467360","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/06/0d/9f/aa/060d9faa-8061-4d32-9781-43568247732b","@type":"oa:Annotation","hasBody":"_:g70154448467360","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:06:29 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:38:03 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
- - Mon, 18 May 2015 20:06:29 GMT
78
+ - Fri, 19 Jun 2015 18:38:03 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
- - Tue, 19 May 2015 02:06:29 GMT
86
+ - Sat, 20 Jun 2015 00:38:03 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: Mon, 18 May 2015 20:06:29 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:38:03 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
- - Mon, 18 May 2015 20:06:29 GMT
124
+ - Fri, 19 Jun 2015 18:38:03 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
- - Tue, 19 May 2015 02:06:29 GMT
138
+ - Sat, 20 Jun 2015 00:38:03 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: Mon, 18 May 2015 20:06:30 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:38:04 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
- - Mon, 18 May 2015 20:06:30 GMT
1276
+ - Fri, 19 Jun 2015 18:38:04 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
- - Tue, 19 May 2015 02:06:30 GMT
1284
+ - Sat, 20 Jun 2015 00:38:04 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: Mon, 18 May 2015 20:06:30 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:38:04 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
- - Mon, 18 May 2015 20:06:30 GMT
1322
+ - Fri, 19 Jun 2015 18:38:04 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
- - Tue, 19 May 2015 02:06:30 GMT
1336
+ - Sat, 20 Jun 2015 00:38:04 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: Mon, 18 May 2015 20:06:30 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:38:04 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/5e%2F4d%2Fb9%2F08%2F5e4db908-8e08-4477-b895-93a1d8929aec
2457
+ uri: http://localhost:3000/annotations/foo/06%2F0d%2F9f%2Faa%2F060d9faa-8061-4d32-9781-43568247732b
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2477,26 +2477,26 @@ http_interactions:
2477
2477
  X-Content-Type-Options:
2478
2478
  - nosniff
2479
2479
  Location:
2480
- - http://localhost:3000/annotations
2480
+ - http://localhost:3000/annotations?anno_root=foo
2481
2481
  Cache-Control:
2482
2482
  - no-cache
2483
2483
  X-Request-Id:
2484
- - 4fbc7d78-ea4c-4cfd-8723-8a0589a9a4b3
2484
+ - 18a89a1a-6044-41d9-8629-4d2f17141a8f
2485
2485
  X-Runtime:
2486
- - '0.293494'
2486
+ - '0.181191'
2487
2487
  Server:
2488
2488
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2489
2489
  Date:
2490
- - Mon, 18 May 2015 20:06:31 GMT
2490
+ - Fri, 19 Jun 2015 18:38:04 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=NzZCU09wSFRNSjJNNXFiSzRueVJIQ1FUS1c0Znc0RFNXVjExVXlyRWswa2RVS1JuVjJQVE5lRjVmWmxXSStjOHNSWEt0UWgxcm0xMnVsVXk4MW9zaTNyaVNKMVlacUVVNmRxVVhTRVhQSG5aQktNSG1Qd0Z2U2ZRY0FOYTNkRWVvb2lkQjdRbHNBaGxHVzhRRjIzQmZxTEhadzQxQVJYcXcxZ2hPclFta0xZQmt5eEN5cVBPWjFNcTB2ZWJTSDBoLS1PWVUyTkV6Z2NuYTBGVjYrR1RaWGRBPT0%3D--20431a93df80fbae90b9ba4b5829e32ac836b9f9;
2494
+ - _internal_session=WTFaQTR5TlZpb3hBVzZhN0doTkhmRE93Y2dTcElpYU5wS2ROSk05MG1ZVFR1UHl3TUF6T09jcE5MNFFDYjdUZXpINUl2QldHRm9YL091ZitEeDBSRUJBZk1mVE95em9TTjFKSEVxZzlQQ1J1ZHhobHNKTSs4RjA1WXRuTGZSRnFMTEJSeEhVcXFjVEh5SjJqUkMwKzF1a2wwVi9GRmM1UENpL3ZlNGplQzlhNU1Kb3hrZ2JFRUVIcEhhOFFFNnlFLS00ZHRjNUVXUHFFYmlMU0Y2NGxEZWN3PT0%3D--b1364a7ce31dcb0317333393ea2e659bbfe8132b;
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: Mon, 18 May 2015 20:06:31 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:38:04 GMT
2502
2502
  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/"8fc6a5aeb27a60d6870aea711c94edb1"
34
+ - W/"263ae3476e2e016b90e123300a52d282"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 8b0de1ed-f2dc-4bc2-8ba3-0663a51d3b71
38
+ - 44b4849e-6b86-4309-90ac-c3e766b36efd
39
39
  X-Runtime:
40
- - '1.734660'
40
+ - '1.775784'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 18 May 2015 20:08:12 GMT
44
+ - Fri, 19 Jun 2015 18:39:52 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=RW10Z3d1Wnc2cVhWTjhWbk1GTENtZVdLdm1MUHB3cnlheFlCb21kRWRBY2FvWVhTdkNvRkVEV1Rsek1Tdm9UUkZxSElOMjVUSkl2amJNTGFaRVdDd2Q3OWkwT3hoS2tLY0dDQlpBK3RFajFHWkJ2TWVNbjRaVDI2d3cwL0ZVVGtBZDFwRUVyeTJhOEVtR2R4aEZQMHY5dUZyNnhCNEN2VGxBZ0Y4VGdvcVdUQkFIdjFSeG0xV1laT2k1NGJqYlJqZjdJNDIya1NFZHFOM1kvdU1oWERkRi93emROYkN0V1pHMlVvWWRWL0ozS3dxR1R1YzZBQjFrNWpqUUpGNUVRTi0tM0RpNGIyd3VOUFAzTVJsWm12RGo5UT09--ab1ee9767b96582dd7d947fec03fd1d7b796b58f;
50
+ - _internal_session=UXc4ajlFZzZOclJPTU1hdDJUU0M2WjkvaS9VWVYzYWFyUzlYM1FJcTdtRy9vSFJBeFo3NTB0WG9xNmZ2QTNhRjJ2TFBhSDZRVVY0TThnVkdOaitpMVlEL01uMmNLb1Zkcnh1ayt4bDVDa1QvZEdROVhiaFBaMEFORjg1QXhON1ZFYUkvaHVWc2R1UFVudjJnZkRTanVwU1orM3pGYmJFejdEUmtmR1BDblljMU8yaFM3elpvaUNLTVV5YWZXUFdsa3g2NzViSFoxeTU1eDdtN1pYS0VnbmlsK0lxR0JqaHN0c1JIWlBJL0NsbWh5MU5XZ3pabFNQVEFKZG4xeUNHai0tdDViRFJiU0VLQWt6RHNNMlhUZDI3dz09--c808fda25314b550f744c1ed00b26ffe9435bc9d;
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":"_:g70310882605800","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/be/83/c3/35/be83c335-af5f-4c89-a498-95828f665f86","@type":"oa:Annotation","hasBody":"_:g70310882605800","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154456452440","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/ea/fe/f6/68/eafef668-3627-49e0-8c71-e439e82114bb","@type":"oa:Annotation","hasBody":"_:g70154456452440","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:08:12 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:39: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
- - Mon, 18 May 2015 20:08:13 GMT
78
+ - Fri, 19 Jun 2015 18:39: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
- - Tue, 19 May 2015 02:08:13 GMT
86
+ - Sat, 20 Jun 2015 00:39: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: Mon, 18 May 2015 20:08:13 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:39: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
- - Mon, 18 May 2015 20:08:13 GMT
124
+ - Fri, 19 Jun 2015 18:39:53 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
- - Tue, 19 May 2015 02:08:13 GMT
138
+ - Sat, 20 Jun 2015 00:39:53 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: Mon, 18 May 2015 20:08:13 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:39:53 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
- - Mon, 18 May 2015 20:08:13 GMT
1276
+ - Fri, 19 Jun 2015 18:39:53 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
- - Tue, 19 May 2015 02:08:13 GMT
1284
+ - Sat, 20 Jun 2015 00:39:53 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: Mon, 18 May 2015 20:08:13 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:39:53 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
- - Mon, 18 May 2015 20:08:13 GMT
1322
+ - Fri, 19 Jun 2015 18:39:53 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
- - Tue, 19 May 2015 02:08:13 GMT
1336
+ - Sat, 20 Jun 2015 00:39:53 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: Mon, 18 May 2015 20:08:14 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:39:54 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/be%2F83%2Fc3%2F35%2Fbe83c335-af5f-4c89-a498-95828f665f86
2457
+ uri: http://localhost:3000/annotations/foo/ea%2Ffe%2Ff6%2F68%2Feafef668-3627-49e0-8c71-e439e82114bb
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2477,26 +2477,26 @@ http_interactions:
2477
2477
  X-Content-Type-Options:
2478
2478
  - nosniff
2479
2479
  Location:
2480
- - http://localhost:3000/annotations
2480
+ - http://localhost:3000/annotations?anno_root=foo
2481
2481
  Cache-Control:
2482
2482
  - no-cache
2483
2483
  X-Request-Id:
2484
- - fb680cc6-ebd8-461f-ac63-1ad815e8a550
2484
+ - 4dd299c3-5b70-421c-8370-d002c787da12
2485
2485
  X-Runtime:
2486
- - '0.212396'
2486
+ - '0.155833'
2487
2487
  Server:
2488
2488
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2489
2489
  Date:
2490
- - Mon, 18 May 2015 20:08:14 GMT
2490
+ - Fri, 19 Jun 2015 18:39:54 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=Njd5MXcvWkRFaTZhOVdrTkZhTnNxU21nR3lCOG1zOFRGWFdTS29rTXRtUEVaK2svOTd4OGt1Y3BESWFnOEZwUXpRRmNPd2Q3dFgwVVNncDliSDlzZ3ZxaGlFNlY2NUhNNVVUZXpCR0IrM0NteEN3TlFOMlRicVBCOGt3bFJsZ0tmb3NUeEtIZzhzdW85RTZLdzJhTzlqeGZLMmRVWGhTVWwydEhHcno3M005TDVYM2MzQ0RXNEtHejkvL2MyZHRhLS1ESzJCRWEvcndINklLbURVZWR5Wkt3PT0%3D--3c0bdd20b588ec8dd4896beaed3190a08067fc5b;
2494
+ - _internal_session=WjFpM2IzdE5wNHBoRzRLakRFZ3cvWCtCTnJkTTJRUjZFdk9QZEc1Z3B0b2x0eU4zQkN6OTUwdEF0VGU1elBpdUlxc25meW1qTVIzancwV1p2dDdBSTdyRXBOZ0xGbTloR0x4dlZsWkovZVE5ZXZnM0R0dGZOS00wM1E5aXNQRmc4dmJYQk5YaWd6eU9HU3UwSE90bU5FLzVDME1tb3dSbFFxUzJHMWx2R2hDT0xwbmgyWFUvaHdNNTNUeTBwcXIwLS1LdXU3UStIQ3NYTW9vbmUyMmhlcWVnPT0%3D--afc9e8841dbde8755796ee8f518ae38146fb2e74;
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: Mon, 18 May 2015 20:08:14 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:39:54 GMT
2502
2502
  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/"afe4ab560bc25b37a53ddd90e17084ed"
34
+ - W/"fd8a75a1adfe1f49a11cd8cf90758b44"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 8fd33a32-6a84-408e-9d8b-f8458d260c0d
38
+ - 1e563b83-4be7-46db-bc5c-ee93b5f91b50
39
39
  X-Runtime:
40
- - '1.637634'
40
+ - '2.330280'
41
41
  Server:
42
42
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
43
  Date:
44
- - Mon, 18 May 2015 20:07:12 GMT
44
+ - Fri, 19 Jun 2015 18:38:50 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=VTE5c2tjQXp6U2RpeEhWbnp2QTZaQ28vK0lWN1c2czNnQWpzU2oyS1EvWTlSSy9nU0Q2OStzVTUzdmFNazl6dUdoMVZ2bW16eTVzUXU2dE16Y1NaNU5JUllWTHFPWlZERTA2NDQ3NTEwQXM4YXpDeHQ4Nytwa0NKRkNpVnNwMkFKMzhlNmg1OU5hOVViQWJLTEhjL3NtVmlGcUpackJidXdwaVVETllqaW9qemNYWjZaRUxyWHZLMlNSSlFoU1NnVWcwTmhFNzNtb0dnTWU2ZkVhTnNZSUNFK1hvMkZBN2tUVGtZeVNydVJTUEMzZlA3cTUzZ3o3OWxRWWhWbTZrTC0tYlBIMXExZDhNRE54bGxoRHRyQTZsUT09--736683ea3730dd7422c0c73aac8dc3b05a2e2833;
50
+ - _internal_session=ZXVadW93ZWQxVDJ5akFNTGdkQUN5NUY0OGFzTXJvSEV6UHdjeUlHcEkxaWR0WXRWNWprdFJXOXlMMldVczBQaHFiUFRxaTVleVQzaU1nS21tclk5OFoyWC9tMTFPNFVHWGs5VUhjY09ybjdrbTBoNkt5NFd5bmRBNzdVbzRFQU5QZk1SVElQTDJIdUZheDdaNzhRMUlhK3IwZnMrL1V0ZWcwdlIyMVd6a3JSd1psVlhzQkdVZ1UraE5LalJ0SXRuY1NkU1orODNVZmwxNm9McDFsMmt1M1lOUVNFWDRQbks1d0lVN3NsSWJBT3BIZU50aDBRUW9zM0p1NjFCcElxTi0tdHp6SUxCRjRqdVNPcStMTkVFUStrQT09--c95a8b1c646234480cec2db72f4066919aa3fc24;
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":"_:g70310849963460","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/69/7b/85/ac/697b85ac-53b5-4f2f-963e-0e70fe43eccc","@type":"oa:Annotation","hasBody":"_:g70310849963460","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154456600740","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/04/94/4b/e5/04944be5-efd2-406b-9e57-0e35dc6ab4ff","@type":"oa:Annotation","hasBody":"_:g70154456600740","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:07:12 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:38:50 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
- - Mon, 18 May 2015 20:07:12 GMT
78
+ - Fri, 19 Jun 2015 18:38: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
- - Tue, 19 May 2015 02:07:12 GMT
86
+ - Sat, 20 Jun 2015 00:38: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: Mon, 18 May 2015 20:07:12 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:38: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
- - Mon, 18 May 2015 20:07:12 GMT
124
+ - Fri, 19 Jun 2015 18:38:51 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
- - Tue, 19 May 2015 02:07:12 GMT
138
+ - Sat, 20 Jun 2015 00:38:51 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: Mon, 18 May 2015 20:07:13 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:38:51 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
- - Mon, 18 May 2015 20:07:13 GMT
1276
+ - Fri, 19 Jun 2015 18:38:51 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
- - Tue, 19 May 2015 02:07:13 GMT
1284
+ - Sat, 20 Jun 2015 00:38:51 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: Mon, 18 May 2015 20:07:13 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:38:51 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
- - Mon, 18 May 2015 20:07:13 GMT
1322
+ - Fri, 19 Jun 2015 18:38: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
- - Tue, 19 May 2015 02:07:13 GMT
1336
+ - Sat, 20 Jun 2015 00:38: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: Mon, 18 May 2015 20:07:13 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:38:52 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/69%2F7b%2F85%2Fac%2F697b85ac-53b5-4f2f-963e-0e70fe43eccc
2457
+ uri: http://localhost:3000/annotations/foo/04%2F94%2F4b%2Fe5%2F04944be5-efd2-406b-9e57-0e35dc6ab4ff
2458
2458
  body:
2459
2459
  encoding: US-ASCII
2460
2460
  string: ''
@@ -2477,26 +2477,26 @@ http_interactions:
2477
2477
  X-Content-Type-Options:
2478
2478
  - nosniff
2479
2479
  Location:
2480
- - http://localhost:3000/annotations
2480
+ - http://localhost:3000/annotations?anno_root=foo
2481
2481
  Cache-Control:
2482
2482
  - no-cache
2483
2483
  X-Request-Id:
2484
- - 712d39cd-899f-463e-bf41-5ed5a56da17f
2484
+ - 344b6570-e37b-4b29-80fa-7dd005a58226
2485
2485
  X-Runtime:
2486
- - '0.214719'
2486
+ - '0.161528'
2487
2487
  Server:
2488
2488
  - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
2489
2489
  Date:
2490
- - Mon, 18 May 2015 20:07:14 GMT
2490
+ - Fri, 19 Jun 2015 18:38:52 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=bVo2aUd1NXpNR000ZTd5NXcyUVVDbkR6c0FGZVlWUDhWYnE3WWRQVmQzWEFvZ21qa3dtY1hhNHRrNE9nK0ducXJyU3ZyS0pSbjZYYXVMeElBdHJjdXJGUGsvT3Q5cmdxNEdFVmJXODRVM1QvK0kxMkNCWWV5OFlLLytGVXBZWWxpR1RBVndlRnRjV3pjY3l6SmRFZWNrcUEvdVUvT3VjWGdtb2RJbW1DUG53WG8zYUpRRlIrdUxQYjVsSnJzOFU5LS1yMC9CODFtS3RJK05wTkxkV2VDTmVRPT0%3D--fea542f379974f62590b497edfe3713643672ec6;
2494
+ - _internal_session=WHA4U29jZzErcVFxZ09hdzRyVFlYa3lOK2RXVDQ3WElaKzh0VlVwaVYyWTJJRGRWQjZ0MGRJL1p4QTZpeFVWMTFyZXV0NU5jbFFmaGJENDEybTRTcGRGNlIzWk93Q25DdGVzMWRtQ3FhNFVUQ3U3ZG8zRzhZdG05TklVb3Voa3NGRUhWQXF0YndQSmgvWXlveGtsOTl5bnFSOW9PYXZKVFdpWko0cWxpblJhaHBMN2RxTVVEa1hlbUFPbzJuSnpvLS1zU2sydG1Kam92dk9IS0VwSzc2SHR3PT0%3D--e9a1c6817254c5125dd9313e9070f687459b5106;
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: Mon, 18 May 2015 20:07:14 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:38:52 GMT
2502
2502
  recorded_with: VCR 2.9.3