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/"8c229d2350c1648cbc02c937633742d7"
34
+ - W/"7ef3d5827796c96fb26b12dd7ff3870e"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - e73ce63a-29f8-425e-826c-677fa149c44d
38
+ - be116158-fa04-4d88-b8bc-381db38aa9dd
39
39
  X-Runtime:
40
- - '1.788124'
40
+ - '2.142752'
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:09:17 GMT
44
+ - Fri, 19 Jun 2015 18:41:06 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=UXB2UmJGa3pIUm90STZBR25Pcis4TGVuNWlFbFBWallSYTM0M0tyN1pIWGNQWWNzdVZoeEt5V3U1ZmFkRXBJekUrUG4zcVdvUUc0VG1JYVV3UmhyTXNGVFlvZWFMWndZcGVGVG1ZWlZ3LzhBdmZTcWZtd1FBUzdHQkI3M1Nqby9WRnRScWZlWGoxRnIrQ00xNnk1RU5BdmliQnhRYThHSUxlVkpodHhxMFNHV0gwbWtXaGVNMVpkK21xZ1NRVXQ5b3N4L0ZkZUhnNFQ0QzhlMHZ4bDNOQlcvZnNta2Zsd3VOSkpVdngxeFVGNTdOOUYyOEVDRU5rM3pSeEVSQXNMby0tYkx0UWZRRzBrclhOSUVaR01obnhWZz09--d88829bfd2c992f27f38b693beb122c836532c44;
50
+ - _internal_session=MXMxUmRlaWhKbFlmclNneFdtRm5lMHJQVWNFMzQrd0pDeWkyN1ZzY3o1cnF0a1E0QTVZdkl0OXFSTldiZkFIK0IvdzVyQUVQSkZPTFEzbXI4RTFhVC8yT3ZJNGRTWTRtNXdJdldGaGJGQUlXMWxQQVlmOUtvVHNaSGRkK2ZCWE1TZ0FSSW9taSthWkZLelVIWEtWcy96UDg5NmxvbmNJRkc3T3d5b0hFSGlsdUwveFczSE5KR2hqbTdqRElEeHo3RWNEakptR0hGSXZtbHdhTVZrTURwUTdFRlovM0FIK2phUTVnTW9mN2h2T3BWZFFOTHNTaFNSSENnaWlLN2lRSS0tWENoNnpYSTFxSTY5SHZHWlNGUEJidz09--db9f179bc183dccdb6fee167a9c86a2dd7f88f5f;
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":"_:g70310875105740","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/6e/54/8f/43/6e548f43-bd98-4373-ad30-f147d42d55ab","@type":"oa:Annotation","hasBody":"_:g70310875105740","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154462269500","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/97/15/11/d1/971511d1-af5e-49be-88c8-e5ffe4433184","@type":"oa:Annotation","hasBody":"_:g70154462269500","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:09:17 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:41:06 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:09:18 GMT
78
+ - Fri, 19 Jun 2015 18:41:06 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:09:18 GMT
86
+ - Sat, 20 Jun 2015 00:41:06 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:09:18 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:41:06 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:09:18 GMT
124
+ - Fri, 19 Jun 2015 18:41:06 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:09:18 GMT
138
+ - Sat, 20 Jun 2015 00:41:06 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:09:18 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:41:07 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:09:18 GMT
1276
+ - Fri, 19 Jun 2015 18:41:07 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:09:18 GMT
1284
+ - Sat, 20 Jun 2015 00:41:07 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:09:18 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:41:07 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:09:18 GMT
1322
+ - Fri, 19 Jun 2015 18:41:07 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:09:18 GMT
1336
+ - Sat, 20 Jun 2015 00:41:07 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:09:19 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:41:07 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/6e%2F54%2F8f%2F43%2F6e548f43-bd98-4373-ad30-f147d42d55ab
2457
+ uri: http://localhost:3000/annotations/foo/97%2F15%2F11%2Fd1%2F971511d1-af5e-49be-88c8-e5ffe4433184
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
- - 7b4c0f63-1509-4545-8d7d-164a0916cd0e
2484
+ - 6d8ee791-75aa-4e62-9cc4-206ae61d6160
2485
2485
  X-Runtime:
2486
- - '0.199093'
2486
+ - '0.231628'
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:09:19 GMT
2490
+ - Fri, 19 Jun 2015 18:41:08 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=eSt2d2RVcnpSQjVlcU9mbFh1cjdIbEdzcHBqdSthRFFYVHNBWlRKQXpJZXZubUVaREEyVlQvd0NoUzQ2ZXI2eTd0YUtTVCtpN2gvU28wdmtQMm93ZkFUbXRVZHVDTDliUW1FUXR1YlNPVXh5dmZVeSs2T201NWdiMjgwd0RUOU1veG5VTEVGS2lGQ2hCOFArcDFXamZJNkJxZmRlVkJJR0lOWDhCOExwYWVqa2M2cWRxcW96SVhRYlk5WHRmaklzLS1VRERCRVNMUWhNaEtXU2p0REtLTERBPT0%3D--b369bb86742e844f0e9fa6fef5392b63d200a7f3;
2494
+ - _internal_session=Sjc5YnVtbGdhdVVqOWNwYlhHejN3ZzNIVVVpU1V1eFBNL0k4V01zMnJFOC90Z3dvWEdvZ3pOR2NoTlBkOExHVGk2K05CN3orM2EwbGZscDJSVDhoaGZpTWFrRkhaaEJrQlIxb2VVdEVNckpQaVNsejJMSmcvcFVpRHU2Tk91TVBZT3Z4N1lRMWF3L2p4L21OcUlJSSszZUJJTnM1dFBpVlR5K1NFOGhpK2lhZ2Vwd3NOdW9mV0hsQ1hkSEFaWDZyLS05M0ZuNWZVcS9UMHlva0NHa3ViNjJBPT0%3D--ffedfaf9550375a3e87fab5482d42ab84a7991b5;
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:09:19 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:41:08 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/"8347c771ad41aabefd263e0fa9bd8399"
34
+ - W/"0873af2858d2cbef4cc99f0a9c1654e1"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - edb2991e-5fa7-44e7-ada4-efadfe05d416
38
+ - 02983b27-f5d1-408d-9115-03bc8e9f2c3b
39
39
  X-Runtime:
40
- - '1.698250'
40
+ - '2.036295'
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:09:43 GMT
44
+ - Fri, 19 Jun 2015 18:41:49 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=YzZZSkdVeXFjUTZjK3dNSmlnQll6TXJwTVBVU3FKM0JwazNiUWptS1BtanZOUmJGSmYxN2FtUFVCVlFtWUx1NmxLRlJkdVdjZ1AzTVkydEVvUjQrak1uY2RoMTBSRVBFbVNIaXJuUi9CSmhiem9aekJpQW1aTk44SWJhczBjWUg2NndGeDJvckZNSkJwaFdtRDRITUkvMTRTajNuYmhiOTM0U1RINk44ZjZYNURCRzhhbmZlZGNNRWQrN2V0am5pbXNSR2hRUlNUa3A3WUFVb09yNnk4cW11TGxPK0VLS3FDRHp1RGpIL25nNEFmajF6K1pMck1OWHRkQ0FNSk1EUS0tb1JyU0hhUTFHa1BiWXMyR21KYUJWUT09--0ced0d5313859b5b9b3ef0af6ace7d142799b9d1;
50
+ - _internal_session=THE0MWxSZTJxeXAxS21pUVR5WmNreUpGV3NOeElEWkpFWFh5S3hmbmZ0cXNkR2ttcmk2eDhMUThOcGNuSkx5QVdQbHZUN0tyUFFGM2dyT3N4ckk1dDlkRDhJUzJZbURJM0g4TERuN3pvNmlyc3UxNnlaWStDT1JGR1FISHJHTzcrL3ZvbFFGLzhyMTVjQXgwWFYwcEcwOGhIb2Y5SFgwWXh0UUoyK016dzFaZ1J4OFIvTm5CVktKUEVMRGVoMTg3MFRmd2ZNcFV2cGpCNXlLVkdSYVdrYm42NW51ODRJRGZLb2JsK3dRQk01ZVQ1TTdON2Nja3pocVFWdHROWXR5Wi0tUWxxRVBxU1BOWW9ZK2h6TnZpemJwQT09--339a1c54792cb70936a8eb1eefcb364db9094151;
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":"_:g70310854148900","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/17/97/b5/20/1797b520-1ae8-43e6-8309-db3550fc4406","@type":"oa:Annotation","hasBody":"_:g70310854148900","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154456806220","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/bc/10/a3/a7/bc10a3a7-d5ff-41a2-8b95-447bcadd0f17","@type":"oa:Annotation","hasBody":"_:g70154456806220","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:09:43 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:41:49 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:09:43 GMT
78
+ - Fri, 19 Jun 2015 18:41:49 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:09:43 GMT
86
+ - Sat, 20 Jun 2015 00:41:49 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:09:44 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:41:49 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:09:44 GMT
124
+ - Fri, 19 Jun 2015 18:41:49 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:09:44 GMT
138
+ - Sat, 20 Jun 2015 00:41:49 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:09:44 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:41:50 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:09:44 GMT
1276
+ - Fri, 19 Jun 2015 18:41:50 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:09:44 GMT
1284
+ - Sat, 20 Jun 2015 00:41:50 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:09:44 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:41:50 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:09:44 GMT
1322
+ - Fri, 19 Jun 2015 18:41:50 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:09:44 GMT
1336
+ - Sat, 20 Jun 2015 00:41:50 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:09:45 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:41:50 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/17%2F97%2Fb5%2F20%2F1797b520-1ae8-43e6-8309-db3550fc4406
2457
+ uri: http://localhost:3000/annotations/foo/bc%2F10%2Fa3%2Fa7%2Fbc10a3a7-d5ff-41a2-8b95-447bcadd0f17
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
- - cbfd54a1-ec6b-4fb4-99ef-9d560fa7eccb
2484
+ - 9f9fa409-c9d6-4daf-b903-e5ab2ba3ef7b
2485
2485
  X-Runtime:
2486
- - '0.213893'
2486
+ - '0.228547'
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:09:45 GMT
2490
+ - Fri, 19 Jun 2015 18:41:51 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=WlRJbXBtTW40ODNGVmt2ZXZEdEdqdFhFMnZsWHc5L2tvYWk2THFaNEZFT2orVlluZ05mQTQ2cWdSUFJ6UHg3b0dEbDRZbzBKd2I0R2taTXZ6TjB0SjZJUDRRbkRnN0NDakFQV01MOTZKcG50VnpYMkNXMjhyY3JjRHBjQ2lFNWtvNnJhR2RhK2J5UVdqNGhHMkl3ZXltaG0xUlc4dHdqdDlxdCtlUHlzeEZVMWxOSk9PSmtjYkUxVTVlYU5xblRYLS1yZ1VEN0E2dVIyb2tGbVc5VmZqMUl3PT0%3D--3e1c43abd4bb285f42e8aab40d596800612c131c;
2494
+ - _internal_session=RmtPbUJxTDlld0J3K0FjOGpKTWVaWWxSVFpjc1ZpazRnVCtGay9pZHhpYUs1T2gvS0dQY29GTTFEMjNoSUl4dUVXVld1WGR4MjhaQzlheGRWYWNHdTlpc0tYYTlla2FKeElDSDlSSEw2VTN3cjZUZllYOUl1QUMvbHk2ZXJVS2ZYdUVSaTZSd2FPMGxEcFlWVkdxdGFUN2h2c1U0b2N6MVRNN2krQ240VGlIbWJiN0RwRjRBaWp2aERnbkZ3Njd6LS1tcWc3dFpUb1Z5MmNTbmtkaUVyZGpRPT0%3D--2710c0ee654cad9a64010ac745236414f591ec78;
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:09:45 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:41:51 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/"6a4131c404f1fbcbc4a8b8947f5f3ff2"
34
+ - W/"6e3c437add5a77a940a1a3fdb78d5540"
35
35
  Cache-Control:
36
36
  - max-age=0, private, must-revalidate
37
37
  X-Request-Id:
38
- - 83fafc38-7e49-43fb-a9e1-156c9160c1c8
38
+ - 4df07873-6fa5-41b5-914e-3fa8e88527e1
39
39
  X-Runtime:
40
- - '2.696814'
40
+ - '2.142748'
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:09:48 GMT
44
+ - Fri, 19 Jun 2015 18:41:53 GMT
45
45
  Content-Length:
46
- - '443'
46
+ - '447'
47
47
  Connection:
48
48
  - Keep-Alive
49
49
  Set-Cookie:
50
- - _internal_session=Ujdic1psNzRBT1dhZDdMR29oRU5STnZMTVBVSXhGWGh6NmZCZitEUHBqVTljZFo5azVyaFovdml3R3Jqb1RrelllUUg5VGsvUmJ3YUJodmhubUg5aW04dFNST25EVndYaXdzY1EwYlNHVEoyNW4wVzNxZHA4Rm9jVnlHUnk2Rlk4Mi85V1pkQ1RRMWxJQ3BRZVNLampCbVd1K2IrQnlrb3RGYkg3Wkdob3lEQ0xMTVNVVlhMTDk0dHNGejJNeFJCaERUQ1ZXQk9FaGRja0trbHFoQURNemRBeFJvQ2VmYWVSV0NPZEZiVU9pbkxPdHZ4V0hkYlZxNVlHUE9RR3dyNC0tYWhHa3gwaDNpMmt4QTBDaE9pb2o4UT09--0b9626cfd9345ff90e14b92348cb020e55728e41;
50
+ - _internal_session=c3MyS2IwOHkrOThrb09GaUYrL2VjNEY1SW9NUUR0ZFk4Y3FvZnh5RUF1a0hnb3pxc0JyWitYcy90VnJjb2NLRDBjdWFrWXRaZUcvaFJ1ZkpPeUUycWgxVENiLzd1MVhmQURJY0tZV2VEQmlPcUFuWGN1T3poTGZlMStQam8zcUt1UE1JNDhmY2R0UXpmWVhockNNR3kyMzl6MU5kWndlS2V3SE1QdkxLREFWQlBrZDFMRWZMclBuREoxb2M1alAzbmg2N2lYTVNMUjJoUnRXRjJlSC9tVVF1Q3NTdXE2Tk9yb3YydFdTTS90dG4vdVJaQmJYU1haUzJ2cFZnZ1hLVy0tc3hJSUJOVlVWT1B6MU1oSitzaWFVQT09--21ee79045026870b7bae6f41ad4a864c7342f821;
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":"_:g70310878917520","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
- love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/ae/ba/ab/aa/aebaabaa-6c8b-4247-8253-198dff252967","@type":"oa:Annotation","hasBody":"_:g70310878917520","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
55
+ string: '{"@context":"http://www.w3.org/ns/oa-context-20130208.json","@graph":[{"@id":"_:g70154593379460","@type":["dctypes:Text","cnt:ContentAsText"],"chars":"I
56
+ love this!","format":"text/plain","language":"en"},{"@id":"http://your.triannon-server.com/annotations/foo/f3/23/7b/25/f3237b25-45d6-48ee-847b-5b1c352ca5da","@type":"oa:Annotation","hasBody":"_:g70154593379460","hasTarget":"http://purl.stanford.edu/kq131cs7229","motivatedBy":"oa:commenting"}]}'
57
57
  http_version:
58
- recorded_at: Mon, 18 May 2015 20:09:48 GMT
58
+ recorded_at: Fri, 19 Jun 2015 18:41:53 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:09:48 GMT
78
+ - Fri, 19 Jun 2015 18:41:53 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:09:48 GMT
86
+ - Sat, 20 Jun 2015 00:41:53 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:09:48 GMT
102
+ recorded_at: Fri, 19 Jun 2015 18:41:53 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:09:48 GMT
124
+ - Fri, 19 Jun 2015 18:41: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:09:48 GMT
138
+ - Sat, 20 Jun 2015 00:41: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:09:48 GMT
1256
+ recorded_at: Fri, 19 Jun 2015 18:41:54 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:09:48 GMT
1276
+ - Fri, 19 Jun 2015 18:41:54 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:09:48 GMT
1284
+ - Sat, 20 Jun 2015 00:41:54 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:09:49 GMT
1300
+ recorded_at: Fri, 19 Jun 2015 18:41:54 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:09:49 GMT
1322
+ - Fri, 19 Jun 2015 18:41:54 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:09:49 GMT
1336
+ - Sat, 20 Jun 2015 00:41:54 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:09:49 GMT
2454
+ recorded_at: Fri, 19 Jun 2015 18:41:54 GMT
2455
2455
  - request:
2456
2456
  method: delete
2457
- uri: http://localhost:3000/annotations/ae%2Fba%2Fab%2Faa%2Faebaabaa-6c8b-4247-8253-198dff252967
2457
+ uri: http://localhost:3000/annotations/foo/f3%2F23%2F7b%2F25%2Ff3237b25-45d6-48ee-847b-5b1c352ca5da
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
- - d302484c-3ec0-4792-b5ee-48b86a5bb81e
2484
+ - d722695e-4d8b-4c58-a04d-7ab7ed463d65
2485
2485
  X-Runtime:
2486
- - '0.190797'
2486
+ - '0.275459'
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:09:49 GMT
2490
+ - Fri, 19 Jun 2015 18:41:55 GMT
2491
2491
  Connection:
2492
2492
  - Keep-Alive
2493
2493
  Set-Cookie:
2494
- - _internal_session=UDErdUQ1UHBqQmVUTElsdHVTbkJkSGwzUExqejZXYzY1b3BzSUpjWkw1MUtOc1gybFJOYnNQcWRDeThmL01LMlVzdzdHMlNTRWFEclFMaWx0cXZleVo0TXNUQXZVc05rUGJHS05sbVVOcjlSQ3c4SVV5TE1iQjlDcm9VTHJmdWVQODJOMEFtZHJEMCtLd0tvaDNKR1k0bjhXdGVDOXhNa1dXVCtKSGhDWkx3QkZ6ZktuWGJVcStZeGRCNzRyQnMzLS1CWmlPTlRreVYrMGJmTXRtMTA0UEhRPT0%3D--2cd621b601320076dd5b4ec38f582ff97e31ff5c;
2494
+ - _internal_session=NVJlZkRqNUZNTk5QWThLbE9kNjJwRnFPbGRidjEwYloyV2l4K05QSFg1M04xUDB6bzV0WENIcGtaVTk1aEtiai9yY3lSZkZXak5PWXlHd0ZLcDlwVkhFR2VCSEorZHIweUNYVEVFeW9mNGo5emNCMTZpQVprRWd1WjY5b29tZSs2L2Z0NDJpZDZCenVDT1MxQ1NtYjFCL05yelhZaXZNVG10ZU9ZZHdaQW11YXVFdWI0VnI0SDE4VUlMRnFLWnFwLS0xYjY3ZEorc3laRldOOVd5VUZOVWh3PT0%3D--74c051219e6456fbd6578daa0c18e85956fe1968;
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:09:49 GMT
2501
+ recorded_at: Fri, 19 Jun 2015 18:41:55 GMT
2502
2502
  recorded_with: VCR 2.9.3