triannon-client 0.1.0 → 0.2.0.pre.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/.env_example +1 -1
  3. data/.travis.yml +1 -2
  4. data/README.md +12 -3
  5. data/bin/test.sh +8 -9
  6. data/lib/triannon-client.rb +8 -3
  7. data/lib/triannon-client/triannon_client.rb +180 -0
  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/n-quads_.yml +4088 -0
  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/n-triples_.yml +4088 -0
  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/rdf_json_.yml +4088 -0
  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/rdf_n3_.yml +4088 -0
  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_application/trig_.yml +4088 -0
  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_application/trix_.yml +4088 -0
  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_application/turtle_.yml +4088 -0
  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_application/x-ld_json_.yml +4088 -0
  16. 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 +4088 -0
  17. 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 +4088 -0
  18. 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 +4088 -0
  19. 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 +4088 -0
  20. 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 +4088 -0
  21. 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 +4946 -0
  22. 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/n-quads_.yml +4088 -0
  23. 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/n-triples_.yml +4088 -0
  24. 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_json_.yml +4088 -0
  25. 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_n3_.yml +4088 -0
  26. 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 +2565 -0
  27. 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/trig_.yml +4088 -0
  28. 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/trix_.yml +4088 -0
  29. 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/turtle_.yml +4088 -0
  30. 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-ld_json_.yml +4088 -0
  31. 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-trig_.yml +4088 -0
  32. 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 +2566 -0
  33. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_text/n3_.yml +4088 -0
  34. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/gets_an_open_annotation_by_ID_with_content_type_text/rdf_n3_.yml +4088 -0
  35. 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/rdf_turtle_.yml +4088 -0
  36. 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 +2566 -0
  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/x-nquads_.yml +4088 -0
  38. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_accepting_JSON-LD_content.yml +2502 -0
  39. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_accepting_a_default_JSON-LD_content.yml +2502 -0
  40. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_using_a_default_JSON-LD_content.yml +2502 -0
  41. 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 +2502 -0
  42. 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 +2502 -0
  43. 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 +2502 -0
  44. 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 +2502 -0
  45. 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 +2502 -0
  46. 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 +2502 -0
  47. 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 +2502 -0
  48. 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 +2502 -0
  49. 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 +2502 -0
  50. 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 +2502 -0
  51. 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 +2502 -0
  52. 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 +2502 -0
  53. 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 +2502 -0
  54. 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 +2502 -0
  55. 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 +2502 -0
  56. 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 +2502 -0
  57. 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 +2502 -0
  58. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_optional_content_type_parameter.yml +2502 -0
  59. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_content_type/requests_an_open_annotation_by_ID_with_turtle_content_type_parameter.yml +2502 -0
  60. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/checks_the_annotation_ID.yml +2561 -0
  61. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/logs_exceptions.yml +2502 -0
  62. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/raises_an_argument_error_with_a_nil_ID.yml +2502 -0
  63. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/raises_an_argument_error_with_an_empty_string_ID.yml +2502 -0
  64. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/raises_an_argument_error_with_an_integer_ID.yml +2502 -0
  65. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/returns_an_EMPTY_RDF_graph_for_a_500_server_response.yml +2502 -0
  66. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/returns_an_EMPTY_RDF_graph_with_a_valid_ID_for_NO_annotation_on_the_server.yml +3623 -0
  67. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/with_no_content_type/returns_an_RDF_graph_with_a_valid_ID_for_an_annotation_on_the_server.yml +4946 -0
  68. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/checks_the_annotation_ID.yml +2502 -0
  69. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/logs_exceptions.yml +2502 -0
  70. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_a_nil_ID.yml +2502 -0
  71. 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 +2502 -0
  72. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_annotation/without_content_type/raises_an_argument_error_with_an_integer_ID.yml +2502 -0
  73. 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 +2502 -0
  74. 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 +2502 -0
  75. 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 +3328 -0
  76. 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 +4946 -0
  77. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/requests_an_open_annotation_by_ID_using_a_IIIF_profile.yml +2746 -0
  78. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_iiif_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +2746 -0
  79. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/requests_an_open_annotation_by_ID_using_an_OA_profile.yml +4946 -0
  80. data/spec/fixtures/vcr_cassettes/TriannonClient/GET_annotation_by_ID_/_get_oa_annotation/returns_an_RDF_Graph_of_an_open_annotation.yml +4946 -0
  81. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/deletes_an_open_annotation_that_exists.yml +2548 -0
  82. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/fails_to_delete_an_open_annotation_that_does_NOT_exist.yml +123 -0
  83. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_false_for_a_500_response_to_a_DELETE_request.yml +64 -0
  84. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_200_response_to_a_DELETE_request.yml +64 -0
  85. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_202_response_to_a_DELETE_request.yml +64 -0
  86. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/returns_true_for_a_204_response_to_a_DELETE_request.yml +64 -0
  87. data/spec/fixtures/vcr_cassettes/TriannonClient/_delete_annotation/validates_the_annotation_ID.yml +64 -0
  88. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph.yml +295 -0
  89. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_RDF_Graph_that_contains_an_AnnotationList.yml +295 -0
  90. data/spec/fixtures/vcr_cassettes/TriannonClient/_get_annotations/returns_an_annotation_list_with_an_annotation_created_by_a_prior_POST.yml +2795 -0
  91. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/does_not_raise_an_error_when_submitting_a_valid_open_annotation.yml +2502 -0
  92. data/spec/fixtures/vcr_cassettes/TriannonClient/_post_annotation/returns_a_RestClient_Response_object.yml +2502 -0
  93. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_from_the_RDF_URI_of_an_annotation.yml +2502 -0
  94. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_id/returns_a_String_ID_that_is_not_empty.yml +2502 -0
  95. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uri/returns_an_RDF_URI_from_an_RDF_Graph_of_an_annotation.yml +2502 -0
  96. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_annotation_uri/returns_an_RDF_URI_that_is_a_valid_URI.yml +2550 -0
  97. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/accepts_a_RestClient_Response_instance.yml +4898 -0
  98. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_an_empty_String.yml +2502 -0
  99. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/raises_ArgumentError_when_given_nil.yml +2502 -0
  100. data/spec/fixtures/vcr_cassettes/TriannonClient/response_processing_utilities/_response2graph/returns_an_RDF_Graph.yml +2502 -0
  101. data/spec/lib/triannon-client/triannon_client_spec.rb +502 -0
  102. data/spec/spec_helper.rb +12 -1
  103. data/triannon-client.gemspec +5 -2
  104. metadata +234 -7
  105. data/Gemfile.lock +0 -203
  106. data/lib/triannon-client/triannon-client.rb +0 -135
  107. data/spec/lib/triannon-client/triannon-client_spec.rb +0 -44
@@ -0,0 +1,123 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/annotations/anno_does_not_exist
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/ld+json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: 'Not Found '
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Content-Type:
28
+ - text/html; charset=utf-8
29
+ Cache-Control:
30
+ - no-cache
31
+ X-Request-Id:
32
+ - 1f92de84-879d-4eae-a591-6f7f7a8c57ba
33
+ X-Runtime:
34
+ - '0.013469'
35
+ Server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ Date:
38
+ - Mon, 04 May 2015 17:52:11 GMT
39
+ Content-Length:
40
+ - '1452'
41
+ Connection:
42
+ - Keep-Alive
43
+ body:
44
+ encoding: UTF-8
45
+ string: "<h2>error getting anno_does_not_exist from LDP</h2><html>\n<head>\n<meta
46
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
47
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
48
+ accessing /fedora/rest/anno/anno_does_not_exist. Reason:\n<pre> Not Found</pre></p><hr
49
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
50
+ \ \n<br/> \n<br/>
51
+ \ \n<br/> \n<br/>
52
+ \ \n<br/> \n<br/>
53
+ \ \n<br/> \n<br/>
54
+ \ \n<br/> \n<br/>
55
+ \ \n<br/> \n<br/>
56
+ \ \n<br/> \n<br/>
57
+ \ \n<br/> \n<br/>
58
+ \ \n<br/> \n<br/>
59
+ \ \n\n</body>\n</html>\n"
60
+ http_version:
61
+ recorded_at: Mon, 04 May 2015 17:52:11 GMT
62
+ - request:
63
+ method: delete
64
+ uri: http://localhost:3000/annotations/anno_does_not_exist
65
+ body:
66
+ encoding: US-ASCII
67
+ string: ''
68
+ headers:
69
+ Accept:
70
+ - "*/*; q=0.5, application/xml"
71
+ Accept-Encoding:
72
+ - gzip, deflate
73
+ User-Agent:
74
+ - Ruby
75
+ response:
76
+ status:
77
+ code: 404
78
+ message: 'Not Found '
79
+ headers:
80
+ X-Frame-Options:
81
+ - SAMEORIGIN
82
+ X-Xss-Protection:
83
+ - 1; mode=block
84
+ X-Content-Type-Options:
85
+ - nosniff
86
+ Content-Type:
87
+ - text/html; charset=utf-8
88
+ Cache-Control:
89
+ - no-cache
90
+ X-Request-Id:
91
+ - 8e605d20-19b6-45e8-b573-35d6818ebf3f
92
+ X-Runtime:
93
+ - '0.013532'
94
+ Server:
95
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
96
+ Date:
97
+ - Mon, 04 May 2015 17:52:11 GMT
98
+ Content-Length:
99
+ - '1452'
100
+ Connection:
101
+ - Keep-Alive
102
+ Set-Cookie:
103
+ - request_method=DELETE; path=/
104
+ body:
105
+ encoding: UTF-8
106
+ string: "<h2>error getting anno_does_not_exist from LDP</h2><html>\n<head>\n<meta
107
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
108
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
109
+ accessing /fedora/rest/anno/anno_does_not_exist. Reason:\n<pre> Not Found</pre></p><hr
110
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
111
+ \ \n<br/> \n<br/>
112
+ \ \n<br/> \n<br/>
113
+ \ \n<br/> \n<br/>
114
+ \ \n<br/> \n<br/>
115
+ \ \n<br/> \n<br/>
116
+ \ \n<br/> \n<br/>
117
+ \ \n<br/> \n<br/>
118
+ \ \n<br/> \n<br/>
119
+ \ \n<br/> \n<br/>
120
+ \ \n\n</body>\n</html>\n"
121
+ http_version:
122
+ recorded_at: Mon, 04 May 2015 17:52:11 GMT
123
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://localhost:3000/annotations/anything_here_is_OK
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: 'Not Found '
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Content-Type:
28
+ - text/html; charset=utf-8
29
+ Cache-Control:
30
+ - no-cache
31
+ X-Request-Id:
32
+ - 44a30438-8fb9-4747-8502-ee1167269abc
33
+ X-Runtime:
34
+ - '0.480381'
35
+ Server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ Date:
38
+ - Mon, 04 May 2015 17:52:07 GMT
39
+ Content-Length:
40
+ - '1452'
41
+ Connection:
42
+ - Keep-Alive
43
+ Set-Cookie:
44
+ - request_method=DELETE; path=/
45
+ body:
46
+ encoding: UTF-8
47
+ string: "<h2>error getting anything_here_is_OK from LDP</h2><html>\n<head>\n<meta
48
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
49
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
50
+ accessing /fedora/rest/anno/anything_here_is_OK. Reason:\n<pre> Not Found</pre></p><hr
51
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
52
+ \ \n<br/> \n<br/>
53
+ \ \n<br/> \n<br/>
54
+ \ \n<br/> \n<br/>
55
+ \ \n<br/> \n<br/>
56
+ \ \n<br/> \n<br/>
57
+ \ \n<br/> \n<br/>
58
+ \ \n<br/> \n<br/>
59
+ \ \n<br/> \n<br/>
60
+ \ \n<br/> \n<br/>
61
+ \ \n\n</body>\n</html>\n"
62
+ http_version:
63
+ recorded_at: Mon, 04 May 2015 17:52:07 GMT
64
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://localhost:3000/annotations/anything_here_is_OK
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: 'Not Found '
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Content-Type:
28
+ - text/html; charset=utf-8
29
+ Cache-Control:
30
+ - no-cache
31
+ X-Request-Id:
32
+ - 0b9eea78-11ec-4cc0-8ba3-121b40f3b25d
33
+ X-Runtime:
34
+ - '0.017352'
35
+ Server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ Date:
38
+ - Mon, 04 May 2015 17:52:07 GMT
39
+ Content-Length:
40
+ - '1452'
41
+ Connection:
42
+ - Keep-Alive
43
+ Set-Cookie:
44
+ - request_method=DELETE; path=/
45
+ body:
46
+ encoding: UTF-8
47
+ string: "<h2>error getting anything_here_is_OK from LDP</h2><html>\n<head>\n<meta
48
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
49
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
50
+ accessing /fedora/rest/anno/anything_here_is_OK. Reason:\n<pre> Not Found</pre></p><hr
51
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
52
+ \ \n<br/> \n<br/>
53
+ \ \n<br/> \n<br/>
54
+ \ \n<br/> \n<br/>
55
+ \ \n<br/> \n<br/>
56
+ \ \n<br/> \n<br/>
57
+ \ \n<br/> \n<br/>
58
+ \ \n<br/> \n<br/>
59
+ \ \n<br/> \n<br/>
60
+ \ \n<br/> \n<br/>
61
+ \ \n\n</body>\n</html>\n"
62
+ http_version:
63
+ recorded_at: Mon, 04 May 2015 17:52:07 GMT
64
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://localhost:3000/annotations/anything_here_is_OK
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: 'Not Found '
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Content-Type:
28
+ - text/html; charset=utf-8
29
+ Cache-Control:
30
+ - no-cache
31
+ X-Request-Id:
32
+ - 11f2fbec-da74-47f4-ab83-40f5edd9ce20
33
+ X-Runtime:
34
+ - '0.014571'
35
+ Server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ Date:
38
+ - Mon, 04 May 2015 17:52:07 GMT
39
+ Content-Length:
40
+ - '1452'
41
+ Connection:
42
+ - Keep-Alive
43
+ Set-Cookie:
44
+ - request_method=DELETE; path=/
45
+ body:
46
+ encoding: UTF-8
47
+ string: "<h2>error getting anything_here_is_OK from LDP</h2><html>\n<head>\n<meta
48
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
49
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
50
+ accessing /fedora/rest/anno/anything_here_is_OK. Reason:\n<pre> Not Found</pre></p><hr
51
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
52
+ \ \n<br/> \n<br/>
53
+ \ \n<br/> \n<br/>
54
+ \ \n<br/> \n<br/>
55
+ \ \n<br/> \n<br/>
56
+ \ \n<br/> \n<br/>
57
+ \ \n<br/> \n<br/>
58
+ \ \n<br/> \n<br/>
59
+ \ \n<br/> \n<br/>
60
+ \ \n<br/> \n<br/>
61
+ \ \n\n</body>\n</html>\n"
62
+ http_version:
63
+ recorded_at: Mon, 04 May 2015 17:52:07 GMT
64
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://localhost:3000/annotations/anything_here_is_OK
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: 'Not Found '
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Content-Type:
28
+ - text/html; charset=utf-8
29
+ Cache-Control:
30
+ - no-cache
31
+ X-Request-Id:
32
+ - f29ea6aa-f38f-4832-b440-f9ffdec13224
33
+ X-Runtime:
34
+ - '0.016009'
35
+ Server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ Date:
38
+ - Mon, 04 May 2015 17:52:07 GMT
39
+ Content-Length:
40
+ - '1452'
41
+ Connection:
42
+ - Keep-Alive
43
+ Set-Cookie:
44
+ - request_method=DELETE; path=/
45
+ body:
46
+ encoding: UTF-8
47
+ string: "<h2>error getting anything_here_is_OK from LDP</h2><html>\n<head>\n<meta
48
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
49
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
50
+ accessing /fedora/rest/anno/anything_here_is_OK. Reason:\n<pre> Not Found</pre></p><hr
51
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
52
+ \ \n<br/> \n<br/>
53
+ \ \n<br/> \n<br/>
54
+ \ \n<br/> \n<br/>
55
+ \ \n<br/> \n<br/>
56
+ \ \n<br/> \n<br/>
57
+ \ \n<br/> \n<br/>
58
+ \ \n<br/> \n<br/>
59
+ \ \n<br/> \n<br/>
60
+ \ \n<br/> \n<br/>
61
+ \ \n\n</body>\n</html>\n"
62
+ http_version:
63
+ recorded_at: Mon, 04 May 2015 17:52:07 GMT
64
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,64 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: delete
5
+ uri: http://localhost:3000/annotations/anything_here_is_OK
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 404
19
+ message: 'Not Found '
20
+ headers:
21
+ X-Frame-Options:
22
+ - SAMEORIGIN
23
+ X-Xss-Protection:
24
+ - 1; mode=block
25
+ X-Content-Type-Options:
26
+ - nosniff
27
+ Content-Type:
28
+ - text/html; charset=utf-8
29
+ Cache-Control:
30
+ - no-cache
31
+ X-Request-Id:
32
+ - 61e91ea9-65d9-4bb0-8fcb-4f443375543d
33
+ X-Runtime:
34
+ - '0.023928'
35
+ Server:
36
+ - WEBrick/1.3.1 (Ruby/2.1.5/2014-11-13)
37
+ Date:
38
+ - Mon, 04 May 2015 17:52:07 GMT
39
+ Content-Length:
40
+ - '1452'
41
+ Connection:
42
+ - Keep-Alive
43
+ Set-Cookie:
44
+ - request_method=DELETE; path=/
45
+ body:
46
+ encoding: UTF-8
47
+ string: "<h2>error getting anything_here_is_OK from LDP</h2><html>\n<head>\n<meta
48
+ http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/>\n<title>Error
49
+ 404 Not Found</title>\n</head>\n<body><h2>HTTP ERROR 404</h2>\n<p>Problem
50
+ accessing /fedora/rest/anno/anything_here_is_OK. Reason:\n<pre> Not Found</pre></p><hr
51
+ /><i><small>Powered by Jetty://</small></i><br/> \n<br/>
52
+ \ \n<br/> \n<br/>
53
+ \ \n<br/> \n<br/>
54
+ \ \n<br/> \n<br/>
55
+ \ \n<br/> \n<br/>
56
+ \ \n<br/> \n<br/>
57
+ \ \n<br/> \n<br/>
58
+ \ \n<br/> \n<br/>
59
+ \ \n<br/> \n<br/>
60
+ \ \n<br/> \n<br/>
61
+ \ \n\n</body>\n</html>\n"
62
+ http_version:
63
+ recorded_at: Mon, 04 May 2015 17:52:07 GMT
64
+ recorded_with: VCR 2.9.3