frodata 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. checksums.yaml +7 -0
  2. data/.autotest +2 -0
  3. data/.gitignore +24 -0
  4. data/.rspec +2 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.travis.yml +75 -0
  8. data/CHANGELOG.md +150 -0
  9. data/Gemfile +4 -0
  10. data/LICENSE.txt +23 -0
  11. data/README.md +427 -0
  12. data/Rakefile +7 -0
  13. data/TODO.md +55 -0
  14. data/frodata.gemspec +34 -0
  15. data/lib/frodata.rb +36 -0
  16. data/lib/frodata/entity.rb +332 -0
  17. data/lib/frodata/entity_container.rb +75 -0
  18. data/lib/frodata/entity_set.rb +161 -0
  19. data/lib/frodata/errors.rb +68 -0
  20. data/lib/frodata/navigation_property.rb +29 -0
  21. data/lib/frodata/navigation_property/proxy.rb +80 -0
  22. data/lib/frodata/properties.rb +32 -0
  23. data/lib/frodata/properties/binary.rb +50 -0
  24. data/lib/frodata/properties/boolean.rb +37 -0
  25. data/lib/frodata/properties/collection.rb +50 -0
  26. data/lib/frodata/properties/complex.rb +114 -0
  27. data/lib/frodata/properties/date.rb +27 -0
  28. data/lib/frodata/properties/date_time.rb +83 -0
  29. data/lib/frodata/properties/date_time_offset.rb +17 -0
  30. data/lib/frodata/properties/decimal.rb +50 -0
  31. data/lib/frodata/properties/enum.rb +62 -0
  32. data/lib/frodata/properties/float.rb +67 -0
  33. data/lib/frodata/properties/geography.rb +13 -0
  34. data/lib/frodata/properties/geography/base.rb +162 -0
  35. data/lib/frodata/properties/geography/line_string.rb +33 -0
  36. data/lib/frodata/properties/geography/point.rb +31 -0
  37. data/lib/frodata/properties/geography/polygon.rb +38 -0
  38. data/lib/frodata/properties/guid.rb +17 -0
  39. data/lib/frodata/properties/integer.rb +107 -0
  40. data/lib/frodata/properties/number.rb +14 -0
  41. data/lib/frodata/properties/string.rb +72 -0
  42. data/lib/frodata/properties/time.rb +40 -0
  43. data/lib/frodata/properties/time_of_day.rb +27 -0
  44. data/lib/frodata/property.rb +139 -0
  45. data/lib/frodata/property_registry.rb +41 -0
  46. data/lib/frodata/query.rb +233 -0
  47. data/lib/frodata/query/criteria.rb +92 -0
  48. data/lib/frodata/query/criteria/comparison_operators.rb +49 -0
  49. data/lib/frodata/query/criteria/date_functions.rb +61 -0
  50. data/lib/frodata/query/criteria/geography_functions.rb +21 -0
  51. data/lib/frodata/query/criteria/lambda_operators.rb +27 -0
  52. data/lib/frodata/query/criteria/string_functions.rb +40 -0
  53. data/lib/frodata/query/in_batches.rb +58 -0
  54. data/lib/frodata/railtie.rb +19 -0
  55. data/lib/frodata/schema.rb +155 -0
  56. data/lib/frodata/schema/complex_type.rb +79 -0
  57. data/lib/frodata/schema/enum_type.rb +95 -0
  58. data/lib/frodata/service.rb +254 -0
  59. data/lib/frodata/service/request.rb +85 -0
  60. data/lib/frodata/service/response.rb +162 -0
  61. data/lib/frodata/service/response/atom.rb +40 -0
  62. data/lib/frodata/service/response/json.rb +41 -0
  63. data/lib/frodata/service/response/plain.rb +36 -0
  64. data/lib/frodata/service/response/xml.rb +40 -0
  65. data/lib/frodata/service_registry.rb +52 -0
  66. data/lib/frodata/version.rb +3 -0
  67. data/spec/fixtures/files/entity_to_xml.xml +17 -0
  68. data/spec/fixtures/files/error.xml +5 -0
  69. data/spec/fixtures/files/metadata.xml +150 -0
  70. data/spec/fixtures/files/product_0.json +10 -0
  71. data/spec/fixtures/files/product_0.xml +28 -0
  72. data/spec/fixtures/files/products.json +106 -0
  73. data/spec/fixtures/files/products.xml +308 -0
  74. data/spec/fixtures/files/supplier_0.json +26 -0
  75. data/spec/fixtures/files/supplier_0.xml +32 -0
  76. data/spec/fixtures/vcr_cassettes/entity_set_specs.yml +1635 -0
  77. data/spec/fixtures/vcr_cassettes/entity_set_specs/bad_entry.yml +183 -0
  78. data/spec/fixtures/vcr_cassettes/entity_set_specs/existing_entry.yml +256 -0
  79. data/spec/fixtures/vcr_cassettes/entity_set_specs/new_entry.yml +185 -0
  80. data/spec/fixtures/vcr_cassettes/entity_specs.yml +285 -0
  81. data/spec/fixtures/vcr_cassettes/navigation_property_proxy_specs.yml +346 -0
  82. data/spec/fixtures/vcr_cassettes/query/result_specs.yml +189 -0
  83. data/spec/fixtures/vcr_cassettes/query_specs.yml +1060 -0
  84. data/spec/fixtures/vcr_cassettes/schema/complex_type_specs.yml +127 -0
  85. data/spec/fixtures/vcr_cassettes/service/request_specs.yml +193 -0
  86. data/spec/fixtures/vcr_cassettes/service_registry_specs.yml +129 -0
  87. data/spec/fixtures/vcr_cassettes/service_specs.yml +127 -0
  88. data/spec/fixtures/vcr_cassettes/usage_example_specs.yml +1330 -0
  89. data/spec/frodata/entity/shared_examples.rb +82 -0
  90. data/spec/frodata/entity_container_spec.rb +38 -0
  91. data/spec/frodata/entity_set_spec.rb +168 -0
  92. data/spec/frodata/entity_spec.rb +151 -0
  93. data/spec/frodata/errors_spec.rb +48 -0
  94. data/spec/frodata/navigation_property/proxy_spec.rb +44 -0
  95. data/spec/frodata/navigation_property_spec.rb +55 -0
  96. data/spec/frodata/properties/binary_spec.rb +50 -0
  97. data/spec/frodata/properties/boolean_spec.rb +72 -0
  98. data/spec/frodata/properties/collection_spec.rb +44 -0
  99. data/spec/frodata/properties/date_spec.rb +23 -0
  100. data/spec/frodata/properties/date_time_offset_spec.rb +30 -0
  101. data/spec/frodata/properties/date_time_spec.rb +23 -0
  102. data/spec/frodata/properties/decimal_spec.rb +51 -0
  103. data/spec/frodata/properties/float_spec.rb +45 -0
  104. data/spec/frodata/properties/geography/line_string_spec.rb +33 -0
  105. data/spec/frodata/properties/geography/point_spec.rb +29 -0
  106. data/spec/frodata/properties/geography/polygon_spec.rb +55 -0
  107. data/spec/frodata/properties/geography/shared_examples.rb +72 -0
  108. data/spec/frodata/properties/guid_spec.rb +17 -0
  109. data/spec/frodata/properties/integer_spec.rb +58 -0
  110. data/spec/frodata/properties/string_spec.rb +46 -0
  111. data/spec/frodata/properties/time_of_day_spec.rb +23 -0
  112. data/spec/frodata/properties/time_spec.rb +15 -0
  113. data/spec/frodata/property_registry_spec.rb +16 -0
  114. data/spec/frodata/property_spec.rb +71 -0
  115. data/spec/frodata/query/criteria_spec.rb +229 -0
  116. data/spec/frodata/query_spec.rb +199 -0
  117. data/spec/frodata/schema/complex_type_spec.rb +96 -0
  118. data/spec/frodata/schema/enum_type_spec.rb +112 -0
  119. data/spec/frodata/schema_spec.rb +97 -0
  120. data/spec/frodata/service/request_spec.rb +49 -0
  121. data/spec/frodata/service/response_spec.rb +85 -0
  122. data/spec/frodata/service_registry_spec.rb +18 -0
  123. data/spec/frodata/service_spec.rb +191 -0
  124. data/spec/frodata/usage_example_spec.rb +188 -0
  125. data/spec/spec_helper.rb +32 -0
  126. data/spec/support/coverage.rb +2 -0
  127. data/spec/support/vcr.rb +9 -0
  128. metadata +401 -0
@@ -0,0 +1,189 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://services.odata.org/V4/OData/OData.svc/$metadata
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Typhoeus - https://github.com/typhoeus/typhoeus
12
+ OData-Version:
13
+ - '4.0'
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Cache-Control:
20
+ - no-cache
21
+ Content-Length:
22
+ - '6742'
23
+ Content-Type:
24
+ - application/xml;charset=utf-8
25
+ Server:
26
+ - Microsoft-IIS/8.0
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ OData-Version:
30
+ - 4.0;
31
+ X-AspNet-Version:
32
+ - 4.0.30319
33
+ X-Powered-By:
34
+ - ASP.NET
35
+ Access-Control-Allow-Origin:
36
+ - "*"
37
+ Access-Control-Allow-Methods:
38
+ - GET
39
+ Access-Control-Allow-Headers:
40
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
41
+ Access-Control-Expose-Headers:
42
+ - DataServiceVersion
43
+ Date:
44
+ - Fri, 08 Dec 2017 06:10:20 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema
48
+ Namespace="ODataDemo" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType
49
+ Name="Product"><Key><PropertyRef Name="ID" /></Key><Property Name="ID" Type="Edm.Int32"
50
+ Nullable="false" /><Property Name="Name" Type="Edm.String" /><Property Name="Description"
51
+ Type="Edm.String" /><Property Name="ReleaseDate" Type="Edm.DateTimeOffset"
52
+ Nullable="false" /><Property Name="DiscontinuedDate" Type="Edm.DateTimeOffset"
53
+ /><Property Name="Rating" Type="Edm.Int16" Nullable="false" /><Property Name="Price"
54
+ Type="Edm.Double" Nullable="false" /><NavigationProperty Name="Categories"
55
+ Type="Collection(ODataDemo.Category)" Partner="Products" /><NavigationProperty
56
+ Name="Supplier" Type="ODataDemo.Supplier" Partner="Products" /><NavigationProperty
57
+ Name="ProductDetail" Type="ODataDemo.ProductDetail" Partner="Product" /></EntityType><EntityType
58
+ Name="FeaturedProduct" BaseType="ODataDemo.Product"><NavigationProperty Name="Advertisement"
59
+ Type="ODataDemo.Advertisement" Partner="FeaturedProduct" /></EntityType><EntityType
60
+ Name="ProductDetail"><Key><PropertyRef Name="ProductID" /></Key><Property
61
+ Name="ProductID" Type="Edm.Int32" Nullable="false" /><Property Name="Details"
62
+ Type="Edm.String" /><NavigationProperty Name="Product" Type="ODataDemo.Product"
63
+ Partner="ProductDetail" /></EntityType><EntityType Name="Category" OpenType="true"><Key><PropertyRef
64
+ Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
65
+ Name="Name" Type="Edm.String" /><NavigationProperty Name="Products" Type="Collection(ODataDemo.Product)"
66
+ Partner="Categories" /></EntityType><EntityType Name="Supplier"><Key><PropertyRef
67
+ Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
68
+ Name="Name" Type="Edm.String" /><Property Name="Address" Type="ODataDemo.Address"
69
+ /><Property Name="Location" Type="Edm.GeographyPoint" SRID="Variable" /><Property
70
+ Name="Concurrency" Type="Edm.Int32" ConcurrencyMode="Fixed" Nullable="false"
71
+ /><NavigationProperty Name="Products" Type="Collection(ODataDemo.Product)"
72
+ Partner="Supplier" /></EntityType><ComplexType Name="Address"><Property Name="Street"
73
+ Type="Edm.String" /><Property Name="City" Type="Edm.String" /><Property Name="State"
74
+ Type="Edm.String" /><Property Name="ZipCode" Type="Edm.String" /><Property
75
+ Name="Country" Type="Edm.String" /></ComplexType><EntityType Name="Person"><Key><PropertyRef
76
+ Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
77
+ Name="Name" Type="Edm.String" /><NavigationProperty Name="PersonDetail" Type="ODataDemo.PersonDetail"
78
+ Partner="Person" /></EntityType><EntityType Name="Customer" BaseType="ODataDemo.Person"><Property
79
+ Name="TotalExpense" Type="Edm.Decimal" Nullable="false" /></EntityType><EntityType
80
+ Name="Employee" BaseType="ODataDemo.Person"><Property Name="EmployeeID" Type="Edm.Int64"
81
+ Nullable="false" /><Property Name="HireDate" Type="Edm.DateTimeOffset" Nullable="false"
82
+ /><Property Name="Salary" Type="Edm.Single" Nullable="false" /></EntityType><EntityType
83
+ Name="PersonDetail"><Key><PropertyRef Name="PersonID" /></Key><Property Name="PersonID"
84
+ Type="Edm.Int32" Nullable="false" /><Property Name="Age" Type="Edm.Byte" Nullable="false"
85
+ /><Property Name="Gender" Type="Edm.Boolean" Nullable="false" /><Property
86
+ Name="Phone" Type="Edm.String" /><Property Name="Address" Type="ODataDemo.Address"
87
+ /><Property Name="Photo" Type="Edm.Stream" Nullable="false" /><NavigationProperty
88
+ Name="Person" Type="ODataDemo.Person" Partner="PersonDetail" /></EntityType><EntityType
89
+ Name="Advertisement" HasStream="true"><Key><PropertyRef Name="ID" /></Key><Property
90
+ Name="ID" Type="Edm.Guid" Nullable="false" /><Property Name="Name" Type="Edm.String"
91
+ /><Property Name="AirDate" Type="Edm.DateTimeOffset" Nullable="false" /><NavigationProperty
92
+ Name="FeaturedProduct" Type="ODataDemo.FeaturedProduct" Partner="Advertisement"
93
+ /></EntityType><EntityContainer Name="DemoService"><EntitySet Name="Products"
94
+ EntityType="ODataDemo.Product"><NavigationPropertyBinding Path="ODataDemo.FeaturedProduct/Advertisement"
95
+ Target="Advertisements" /><NavigationPropertyBinding Path="Categories" Target="Categories"
96
+ /><NavigationPropertyBinding Path="Supplier" Target="Suppliers" /><NavigationPropertyBinding
97
+ Path="ProductDetail" Target="ProductDetails" /></EntitySet><EntitySet Name="ProductDetails"
98
+ EntityType="ODataDemo.ProductDetail"><NavigationPropertyBinding Path="Product"
99
+ Target="Products" /></EntitySet><EntitySet Name="Categories" EntityType="ODataDemo.Category"><NavigationPropertyBinding
100
+ Path="Products" Target="Products" /></EntitySet><EntitySet Name="Suppliers"
101
+ EntityType="ODataDemo.Supplier"><NavigationPropertyBinding Path="Products"
102
+ Target="Products" /></EntitySet><EntitySet Name="Persons" EntityType="ODataDemo.Person"><NavigationPropertyBinding
103
+ Path="PersonDetail" Target="PersonDetails" /></EntitySet><EntitySet Name="PersonDetails"
104
+ EntityType="ODataDemo.PersonDetail"><NavigationPropertyBinding Path="Person"
105
+ Target="Persons" /></EntitySet><EntitySet Name="Advertisements" EntityType="ODataDemo.Advertisement"><NavigationPropertyBinding
106
+ Path="FeaturedProduct" Target="Products" /></EntitySet></EntityContainer><Annotations
107
+ Target="ODataDemo.DemoService"><Annotation Term="Org.OData.Display.V1.Description"
108
+ String="This is a sample OData service with vocabularies" /></Annotations><Annotations
109
+ Target="ODataDemo.Product"><Annotation Term="Org.OData.Display.V1.Description"
110
+ String="All Products available in the online store" /></Annotations><Annotations
111
+ Target="ODataDemo.Product/Name"><Annotation Term="Org.OData.Display.V1.DisplayName"
112
+ String="Product Name" /></Annotations><Annotations Target="ODataDemo.DemoService/Suppliers"><Annotation
113
+ Term="Org.OData.Publication.V1.PublisherName" String="Microsoft Corp." /><Annotation
114
+ Term="Org.OData.Publication.V1.PublisherId" String="MSFT" /><Annotation Term="Org.OData.Publication.V1.Keywords"
115
+ String="Inventory, Supplier, Advertisers, Sales, Finance" /><Annotation Term="Org.OData.Publication.V1.AttributionUrl"
116
+ String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.AttributionDescription"
117
+ String="All rights reserved" /><Annotation Term="Org.OData.Publication.V1.DocumentationUrl
118
+ " String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.TermsOfUseUrl"
119
+ String="All rights reserved" /><Annotation Term="Org.OData.Publication.V1.PrivacyPolicyUrl"
120
+ String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.LastModified"
121
+ String="4/2/2013" /><Annotation Term="Org.OData.Publication.V1.ImageUrl "
122
+ String="http://www.odata.org/" /></Annotations></Schema></edmx:DataServices></edmx:Edmx>
123
+ http_version: '1.1'
124
+ adapter_metadata:
125
+ effective_url: http://services.odata.org/V4/OData/OData.svc/$metadata
126
+ recorded_at: Fri, 08 Dec 2017 06:10:21 GMT
127
+ - request:
128
+ method: get
129
+ uri: http://services.odata.org/V4/OData/OData.svc/Products
130
+ body:
131
+ encoding: US-ASCII
132
+ string: ''
133
+ headers:
134
+ User-Agent:
135
+ - Typhoeus - https://github.com/typhoeus/typhoeus
136
+ OData-Version:
137
+ - '4.0'
138
+ Accept:
139
+ - application/atom+xml,application/json,text/plain
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Cache-Control:
146
+ - no-cache
147
+ Content-Length:
148
+ - '1981'
149
+ Content-Type:
150
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
151
+ Server:
152
+ - Microsoft-IIS/8.0
153
+ X-Content-Type-Options:
154
+ - nosniff
155
+ OData-Version:
156
+ - 4.0;
157
+ X-AspNet-Version:
158
+ - 4.0.30319
159
+ X-Powered-By:
160
+ - ASP.NET
161
+ Access-Control-Allow-Origin:
162
+ - "*"
163
+ Access-Control-Allow-Methods:
164
+ - GET
165
+ Access-Control-Allow-Headers:
166
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
167
+ Access-Control-Expose-Headers:
168
+ - DataServiceVersion
169
+ Date:
170
+ - Fri, 08 Dec 2017 06:10:21 GMT
171
+ body:
172
+ encoding: UTF-8
173
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":0,"Name":"Bread","Description":"Whole
174
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5},{"ID":1,"Name":"Milk","Description":"Low
175
+ fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5},{"ID":2,"Name":"Vint
176
+ soda","Description":"Americana Variety - Mix of 6 flavors","ReleaseDate":"2000-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":20.9},{"ID":3,"Name":"Havina
177
+ Cola","Description":"The Original Key Lime Cola","ReleaseDate":"2005-10-01T00:00:00Z","DiscontinuedDate":"2006-10-01T00:00:00Z","Rating":3,"Price":19.9},{"ID":4,"Name":"Fruit
178
+ Punch","Description":"Mango flavor, 8.3 Ounce Cans (Pack of 24)","ReleaseDate":"2003-01-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.99},{"ID":5,"Name":"Cranberry
179
+ Juice","Description":"16-Ounce Plastic Bottles (Pack of 12)","ReleaseDate":"2006-08-04T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.8},{"ID":6,"Name":"Pink
180
+ Lemonade","Description":"36 Ounce Cans (Pack of 3)","ReleaseDate":"2006-11-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":18.8},{"ID":7,"Name":"DVD
181
+ Player","Description":"1080P Upconversion DVD Player","ReleaseDate":"2006-11-15T00:00:00Z","DiscontinuedDate":null,"Rating":5,"Price":35.88},{"ID":8,"Name":"LCD
182
+ HDTV","Description":"42 inch 1080p LCD with Built-in Blu-ray Disc Player","ReleaseDate":"2008-05-08T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":1088.8},{"@odata.type":"#ODataDemo.FeaturedProduct","ID":9,"Name":"Lemonade","Description":"Classic,
183
+ refreshing lemonade (Single bottle)","ReleaseDate":"1970-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":7,"Price":1.01},{"@odata.type":"#ODataDemo.FeaturedProduct","ID":10,"Name":"Coffee","Description":"Bulk
184
+ size can of instant coffee","ReleaseDate":"1982-12-31T00:00:00Z","DiscontinuedDate":null,"Rating":1,"Price":6.99}]}'
185
+ http_version: '1.1'
186
+ adapter_metadata:
187
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products
188
+ recorded_at: Fri, 08 Dec 2017 06:10:21 GMT
189
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,1060 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://services.odata.org/V4/OData/OData.svc/$metadata
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Typhoeus - https://github.com/typhoeus/typhoeus
12
+ OData-Version:
13
+ - '4.0'
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Cache-Control:
20
+ - no-cache
21
+ Content-Length:
22
+ - '6742'
23
+ Content-Type:
24
+ - application/xml;charset=utf-8
25
+ Server:
26
+ - Microsoft-IIS/10.0
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ OData-Version:
30
+ - 4.0;
31
+ X-AspNet-Version:
32
+ - 4.0.30319
33
+ X-Powered-By:
34
+ - ASP.NET
35
+ Access-Control-Allow-Origin:
36
+ - "*"
37
+ Access-Control-Allow-Methods:
38
+ - GET
39
+ Access-Control-Allow-Headers:
40
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
41
+ Access-Control-Expose-Headers:
42
+ - DataServiceVersion
43
+ Date:
44
+ - Mon, 18 Dec 2017 20:35:22 GMT
45
+ body:
46
+ encoding: UTF-8
47
+ string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"><edmx:DataServices><Schema
48
+ Namespace="ODataDemo" xmlns="http://docs.oasis-open.org/odata/ns/edm"><EntityType
49
+ Name="Product"><Key><PropertyRef Name="ID" /></Key><Property Name="ID" Type="Edm.Int32"
50
+ Nullable="false" /><Property Name="Name" Type="Edm.String" /><Property Name="Description"
51
+ Type="Edm.String" /><Property Name="ReleaseDate" Type="Edm.DateTimeOffset"
52
+ Nullable="false" /><Property Name="DiscontinuedDate" Type="Edm.DateTimeOffset"
53
+ /><Property Name="Rating" Type="Edm.Int16" Nullable="false" /><Property Name="Price"
54
+ Type="Edm.Double" Nullable="false" /><NavigationProperty Name="Categories"
55
+ Type="Collection(ODataDemo.Category)" Partner="Products" /><NavigationProperty
56
+ Name="Supplier" Type="ODataDemo.Supplier" Partner="Products" /><NavigationProperty
57
+ Name="ProductDetail" Type="ODataDemo.ProductDetail" Partner="Product" /></EntityType><EntityType
58
+ Name="FeaturedProduct" BaseType="ODataDemo.Product"><NavigationProperty Name="Advertisement"
59
+ Type="ODataDemo.Advertisement" Partner="FeaturedProduct" /></EntityType><EntityType
60
+ Name="ProductDetail"><Key><PropertyRef Name="ProductID" /></Key><Property
61
+ Name="ProductID" Type="Edm.Int32" Nullable="false" /><Property Name="Details"
62
+ Type="Edm.String" /><NavigationProperty Name="Product" Type="ODataDemo.Product"
63
+ Partner="ProductDetail" /></EntityType><EntityType Name="Category" OpenType="true"><Key><PropertyRef
64
+ Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
65
+ Name="Name" Type="Edm.String" /><NavigationProperty Name="Products" Type="Collection(ODataDemo.Product)"
66
+ Partner="Categories" /></EntityType><EntityType Name="Supplier"><Key><PropertyRef
67
+ Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
68
+ Name="Name" Type="Edm.String" /><Property Name="Address" Type="ODataDemo.Address"
69
+ /><Property Name="Location" Type="Edm.GeographyPoint" SRID="Variable" /><Property
70
+ Name="Concurrency" Type="Edm.Int32" ConcurrencyMode="Fixed" Nullable="false"
71
+ /><NavigationProperty Name="Products" Type="Collection(ODataDemo.Product)"
72
+ Partner="Supplier" /></EntityType><ComplexType Name="Address"><Property Name="Street"
73
+ Type="Edm.String" /><Property Name="City" Type="Edm.String" /><Property Name="State"
74
+ Type="Edm.String" /><Property Name="ZipCode" Type="Edm.String" /><Property
75
+ Name="Country" Type="Edm.String" /></ComplexType><EntityType Name="Person"><Key><PropertyRef
76
+ Name="ID" /></Key><Property Name="ID" Type="Edm.Int32" Nullable="false" /><Property
77
+ Name="Name" Type="Edm.String" /><NavigationProperty Name="PersonDetail" Type="ODataDemo.PersonDetail"
78
+ Partner="Person" /></EntityType><EntityType Name="Customer" BaseType="ODataDemo.Person"><Property
79
+ Name="TotalExpense" Type="Edm.Decimal" Nullable="false" /></EntityType><EntityType
80
+ Name="Employee" BaseType="ODataDemo.Person"><Property Name="EmployeeID" Type="Edm.Int64"
81
+ Nullable="false" /><Property Name="HireDate" Type="Edm.DateTimeOffset" Nullable="false"
82
+ /><Property Name="Salary" Type="Edm.Single" Nullable="false" /></EntityType><EntityType
83
+ Name="PersonDetail"><Key><PropertyRef Name="PersonID" /></Key><Property Name="PersonID"
84
+ Type="Edm.Int32" Nullable="false" /><Property Name="Age" Type="Edm.Byte" Nullable="false"
85
+ /><Property Name="Gender" Type="Edm.Boolean" Nullable="false" /><Property
86
+ Name="Phone" Type="Edm.String" /><Property Name="Address" Type="ODataDemo.Address"
87
+ /><Property Name="Photo" Type="Edm.Stream" Nullable="false" /><NavigationProperty
88
+ Name="Person" Type="ODataDemo.Person" Partner="PersonDetail" /></EntityType><EntityType
89
+ Name="Advertisement" HasStream="true"><Key><PropertyRef Name="ID" /></Key><Property
90
+ Name="ID" Type="Edm.Guid" Nullable="false" /><Property Name="Name" Type="Edm.String"
91
+ /><Property Name="AirDate" Type="Edm.DateTimeOffset" Nullable="false" /><NavigationProperty
92
+ Name="FeaturedProduct" Type="ODataDemo.FeaturedProduct" Partner="Advertisement"
93
+ /></EntityType><EntityContainer Name="DemoService"><EntitySet Name="Products"
94
+ EntityType="ODataDemo.Product"><NavigationPropertyBinding Path="ODataDemo.FeaturedProduct/Advertisement"
95
+ Target="Advertisements" /><NavigationPropertyBinding Path="Categories" Target="Categories"
96
+ /><NavigationPropertyBinding Path="Supplier" Target="Suppliers" /><NavigationPropertyBinding
97
+ Path="ProductDetail" Target="ProductDetails" /></EntitySet><EntitySet Name="ProductDetails"
98
+ EntityType="ODataDemo.ProductDetail"><NavigationPropertyBinding Path="Product"
99
+ Target="Products" /></EntitySet><EntitySet Name="Categories" EntityType="ODataDemo.Category"><NavigationPropertyBinding
100
+ Path="Products" Target="Products" /></EntitySet><EntitySet Name="Suppliers"
101
+ EntityType="ODataDemo.Supplier"><NavigationPropertyBinding Path="Products"
102
+ Target="Products" /></EntitySet><EntitySet Name="Persons" EntityType="ODataDemo.Person"><NavigationPropertyBinding
103
+ Path="PersonDetail" Target="PersonDetails" /></EntitySet><EntitySet Name="PersonDetails"
104
+ EntityType="ODataDemo.PersonDetail"><NavigationPropertyBinding Path="Person"
105
+ Target="Persons" /></EntitySet><EntitySet Name="Advertisements" EntityType="ODataDemo.Advertisement"><NavigationPropertyBinding
106
+ Path="FeaturedProduct" Target="Products" /></EntitySet></EntityContainer><Annotations
107
+ Target="ODataDemo.DemoService"><Annotation Term="Org.OData.Display.V1.Description"
108
+ String="This is a sample OData service with vocabularies" /></Annotations><Annotations
109
+ Target="ODataDemo.Product"><Annotation Term="Org.OData.Display.V1.Description"
110
+ String="All Products available in the online store" /></Annotations><Annotations
111
+ Target="ODataDemo.Product/Name"><Annotation Term="Org.OData.Display.V1.DisplayName"
112
+ String="Product Name" /></Annotations><Annotations Target="ODataDemo.DemoService/Suppliers"><Annotation
113
+ Term="Org.OData.Publication.V1.PublisherName" String="Microsoft Corp." /><Annotation
114
+ Term="Org.OData.Publication.V1.PublisherId" String="MSFT" /><Annotation Term="Org.OData.Publication.V1.Keywords"
115
+ String="Inventory, Supplier, Advertisers, Sales, Finance" /><Annotation Term="Org.OData.Publication.V1.AttributionUrl"
116
+ String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.AttributionDescription"
117
+ String="All rights reserved" /><Annotation Term="Org.OData.Publication.V1.DocumentationUrl
118
+ " String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.TermsOfUseUrl"
119
+ String="All rights reserved" /><Annotation Term="Org.OData.Publication.V1.PrivacyPolicyUrl"
120
+ String="http://www.odata.org/" /><Annotation Term="Org.OData.Publication.V1.LastModified"
121
+ String="4/2/2013" /><Annotation Term="Org.OData.Publication.V1.ImageUrl "
122
+ String="http://www.odata.org/" /></Annotations></Schema></edmx:DataServices></edmx:Edmx>
123
+ http_version: '1.1'
124
+ adapter_metadata:
125
+ effective_url: http://services.odata.org/V4/OData/OData.svc/$metadata
126
+ recorded_at: Mon, 18 Dec 2017 20:35:22 GMT
127
+ - request:
128
+ method: get
129
+ uri: http://services.odata.org/V4/OData/OData.svc/Products/$count
130
+ body:
131
+ encoding: US-ASCII
132
+ string: ''
133
+ headers:
134
+ User-Agent:
135
+ - Typhoeus - https://github.com/typhoeus/typhoeus
136
+ OData-Version:
137
+ - '4.0'
138
+ Accept:
139
+ - application/atom+xml,application/json,text/plain
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Cache-Control:
146
+ - no-cache
147
+ Content-Length:
148
+ - '2'
149
+ Content-Type:
150
+ - text/plain;charset=utf-8
151
+ Server:
152
+ - Microsoft-IIS/10.0
153
+ X-Content-Type-Options:
154
+ - nosniff
155
+ OData-Version:
156
+ - 4.0;
157
+ X-AspNet-Version:
158
+ - 4.0.30319
159
+ X-Powered-By:
160
+ - ASP.NET
161
+ Access-Control-Allow-Origin:
162
+ - "*"
163
+ Access-Control-Allow-Methods:
164
+ - GET
165
+ Access-Control-Allow-Headers:
166
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
167
+ Access-Control-Expose-Headers:
168
+ - DataServiceVersion
169
+ Date:
170
+ - Mon, 18 Dec 2017 20:35:23 GMT
171
+ body:
172
+ encoding: UTF-8
173
+ string: '11'
174
+ http_version: '1.1'
175
+ adapter_metadata:
176
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products/$count
177
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
178
+ - request:
179
+ method: get
180
+ uri: http://services.odata.org/V4/OData/OData.svc/Products/$count?$filter=Name%20eq%20'Bread'
181
+ body:
182
+ encoding: US-ASCII
183
+ string: ''
184
+ headers:
185
+ User-Agent:
186
+ - Typhoeus - https://github.com/typhoeus/typhoeus
187
+ OData-Version:
188
+ - '4.0'
189
+ Accept:
190
+ - application/atom+xml,application/json,text/plain
191
+ response:
192
+ status:
193
+ code: 200
194
+ message: OK
195
+ headers:
196
+ Cache-Control:
197
+ - no-cache
198
+ Content-Length:
199
+ - '1'
200
+ Content-Type:
201
+ - text/plain;charset=utf-8
202
+ Server:
203
+ - Microsoft-IIS/10.0
204
+ X-Content-Type-Options:
205
+ - nosniff
206
+ OData-Version:
207
+ - 4.0;
208
+ X-AspNet-Version:
209
+ - 4.0.30319
210
+ X-Powered-By:
211
+ - ASP.NET
212
+ Access-Control-Allow-Origin:
213
+ - "*"
214
+ Access-Control-Allow-Methods:
215
+ - GET
216
+ Access-Control-Allow-Headers:
217
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
218
+ Access-Control-Expose-Headers:
219
+ - DataServiceVersion
220
+ Date:
221
+ - Mon, 18 Dec 2017 20:35:23 GMT
222
+ body:
223
+ encoding: UTF-8
224
+ string: '1'
225
+ http_version: '1.1'
226
+ adapter_metadata:
227
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products/$count?$filter=Name%20eq%20'Bread'
228
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
229
+ - request:
230
+ method: get
231
+ uri: http://services.odata.org/V4/OData/OData.svc/Products
232
+ body:
233
+ encoding: US-ASCII
234
+ string: ''
235
+ headers:
236
+ User-Agent:
237
+ - Typhoeus - https://github.com/typhoeus/typhoeus
238
+ OData-Version:
239
+ - '4.0'
240
+ Accept:
241
+ - application/atom+xml,application/json,text/plain
242
+ response:
243
+ status:
244
+ code: 200
245
+ message: OK
246
+ headers:
247
+ Cache-Control:
248
+ - no-cache
249
+ Content-Length:
250
+ - '1981'
251
+ Content-Type:
252
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
253
+ Server:
254
+ - Microsoft-IIS/10.0
255
+ X-Content-Type-Options:
256
+ - nosniff
257
+ OData-Version:
258
+ - 4.0;
259
+ X-AspNet-Version:
260
+ - 4.0.30319
261
+ X-Powered-By:
262
+ - ASP.NET
263
+ Access-Control-Allow-Origin:
264
+ - "*"
265
+ Access-Control-Allow-Methods:
266
+ - GET
267
+ Access-Control-Allow-Headers:
268
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
269
+ Access-Control-Expose-Headers:
270
+ - DataServiceVersion
271
+ Date:
272
+ - Mon, 18 Dec 2017 20:35:23 GMT
273
+ body:
274
+ encoding: UTF-8
275
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":0,"Name":"Bread","Description":"Whole
276
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5},{"ID":1,"Name":"Milk","Description":"Low
277
+ fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5},{"ID":2,"Name":"Vint
278
+ soda","Description":"Americana Variety - Mix of 6 flavors","ReleaseDate":"2000-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":20.9},{"ID":3,"Name":"Havina
279
+ Cola","Description":"The Original Key Lime Cola","ReleaseDate":"2005-10-01T00:00:00Z","DiscontinuedDate":"2006-10-01T00:00:00Z","Rating":3,"Price":19.9},{"ID":4,"Name":"Fruit
280
+ Punch","Description":"Mango flavor, 8.3 Ounce Cans (Pack of 24)","ReleaseDate":"2003-01-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.99},{"ID":5,"Name":"Cranberry
281
+ Juice","Description":"16-Ounce Plastic Bottles (Pack of 12)","ReleaseDate":"2006-08-04T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.8},{"ID":6,"Name":"Pink
282
+ Lemonade","Description":"36 Ounce Cans (Pack of 3)","ReleaseDate":"2006-11-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":18.8},{"ID":7,"Name":"DVD
283
+ Player","Description":"1080P Upconversion DVD Player","ReleaseDate":"2006-11-15T00:00:00Z","DiscontinuedDate":null,"Rating":5,"Price":35.88},{"ID":8,"Name":"LCD
284
+ HDTV","Description":"42 inch 1080p LCD with Built-in Blu-ray Disc Player","ReleaseDate":"2008-05-08T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":1088.8},{"@odata.type":"#ODataDemo.FeaturedProduct","ID":9,"Name":"Lemonade","Description":"Classic,
285
+ refreshing lemonade (Single bottle)","ReleaseDate":"1970-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":7,"Price":1.01},{"@odata.type":"#ODataDemo.FeaturedProduct","ID":10,"Name":"Coffee","Description":"Bulk
286
+ size can of instant coffee","ReleaseDate":"1982-12-31T00:00:00Z","DiscontinuedDate":null,"Rating":1,"Price":6.99}]}'
287
+ http_version: '1.1'
288
+ adapter_metadata:
289
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products
290
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
291
+ - request:
292
+ method: get
293
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?$top=5
294
+ body:
295
+ encoding: US-ASCII
296
+ string: ''
297
+ headers:
298
+ User-Agent:
299
+ - Typhoeus - https://github.com/typhoeus/typhoeus
300
+ OData-Version:
301
+ - '4.0'
302
+ Accept:
303
+ - application/atom+xml,application/json,text/plain
304
+ response:
305
+ status:
306
+ code: 200
307
+ message: OK
308
+ headers:
309
+ Cache-Control:
310
+ - no-cache
311
+ Content-Length:
312
+ - '888'
313
+ Content-Type:
314
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
315
+ Server:
316
+ - Microsoft-IIS/10.0
317
+ X-Content-Type-Options:
318
+ - nosniff
319
+ OData-Version:
320
+ - 4.0;
321
+ X-AspNet-Version:
322
+ - 4.0.30319
323
+ X-Powered-By:
324
+ - ASP.NET
325
+ Access-Control-Allow-Origin:
326
+ - "*"
327
+ Access-Control-Allow-Methods:
328
+ - GET
329
+ Access-Control-Allow-Headers:
330
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
331
+ Access-Control-Expose-Headers:
332
+ - DataServiceVersion
333
+ Date:
334
+ - Mon, 18 Dec 2017 20:35:23 GMT
335
+ body:
336
+ encoding: UTF-8
337
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":0,"Name":"Bread","Description":"Whole
338
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5},{"ID":1,"Name":"Milk","Description":"Low
339
+ fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5},{"ID":2,"Name":"Vint
340
+ soda","Description":"Americana Variety - Mix of 6 flavors","ReleaseDate":"2000-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":20.9},{"ID":3,"Name":"Havina
341
+ Cola","Description":"The Original Key Lime Cola","ReleaseDate":"2005-10-01T00:00:00Z","DiscontinuedDate":"2006-10-01T00:00:00Z","Rating":3,"Price":19.9},{"ID":4,"Name":"Fruit
342
+ Punch","Description":"Mango flavor, 8.3 Ounce Cans (Pack of 24)","ReleaseDate":"2003-01-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.99}]}'
343
+ http_version: '1.1'
344
+ adapter_metadata:
345
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$top=5
346
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
347
+ - request:
348
+ method: get
349
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?$skip=5&$top=5
350
+ body:
351
+ encoding: US-ASCII
352
+ string: ''
353
+ headers:
354
+ User-Agent:
355
+ - Typhoeus - https://github.com/typhoeus/typhoeus
356
+ OData-Version:
357
+ - '4.0'
358
+ Accept:
359
+ - application/atom+xml,application/json,text/plain
360
+ response:
361
+ status:
362
+ code: 200
363
+ message: OK
364
+ headers:
365
+ Cache-Control:
366
+ - no-cache
367
+ Content-Length:
368
+ - '985'
369
+ Content-Type:
370
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
371
+ Server:
372
+ - Microsoft-IIS/10.0
373
+ X-Content-Type-Options:
374
+ - nosniff
375
+ OData-Version:
376
+ - 4.0;
377
+ X-AspNet-Version:
378
+ - 4.0.30319
379
+ X-Powered-By:
380
+ - ASP.NET
381
+ Access-Control-Allow-Origin:
382
+ - "*"
383
+ Access-Control-Allow-Methods:
384
+ - GET
385
+ Access-Control-Allow-Headers:
386
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
387
+ Access-Control-Expose-Headers:
388
+ - DataServiceVersion
389
+ Date:
390
+ - Mon, 18 Dec 2017 20:35:23 GMT
391
+ body:
392
+ encoding: UTF-8
393
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":5,"Name":"Cranberry
394
+ Juice","Description":"16-Ounce Plastic Bottles (Pack of 12)","ReleaseDate":"2006-08-04T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.8},{"ID":6,"Name":"Pink
395
+ Lemonade","Description":"36 Ounce Cans (Pack of 3)","ReleaseDate":"2006-11-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":18.8},{"ID":7,"Name":"DVD
396
+ Player","Description":"1080P Upconversion DVD Player","ReleaseDate":"2006-11-15T00:00:00Z","DiscontinuedDate":null,"Rating":5,"Price":35.88},{"ID":8,"Name":"LCD
397
+ HDTV","Description":"42 inch 1080p LCD with Built-in Blu-ray Disc Player","ReleaseDate":"2008-05-08T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":1088.8},{"@odata.type":"#ODataDemo.FeaturedProduct","ID":9,"Name":"Lemonade","Description":"Classic,
398
+ refreshing lemonade (Single bottle)","ReleaseDate":"1970-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":7,"Price":1.01}]}'
399
+ http_version: '1.1'
400
+ adapter_metadata:
401
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$skip=5&$top=5
402
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
403
+ - request:
404
+ method: get
405
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?$skip=10&$top=5
406
+ body:
407
+ encoding: US-ASCII
408
+ string: ''
409
+ headers:
410
+ User-Agent:
411
+ - Typhoeus - https://github.com/typhoeus/typhoeus
412
+ OData-Version:
413
+ - '4.0'
414
+ Accept:
415
+ - application/atom+xml,application/json,text/plain
416
+ response:
417
+ status:
418
+ code: 200
419
+ message: OK
420
+ headers:
421
+ Cache-Control:
422
+ - no-cache
423
+ Content-Length:
424
+ - '296'
425
+ Content-Type:
426
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
427
+ Server:
428
+ - Microsoft-IIS/10.0
429
+ X-Content-Type-Options:
430
+ - nosniff
431
+ OData-Version:
432
+ - 4.0;
433
+ X-AspNet-Version:
434
+ - 4.0.30319
435
+ X-Powered-By:
436
+ - ASP.NET
437
+ Access-Control-Allow-Origin:
438
+ - "*"
439
+ Access-Control-Allow-Methods:
440
+ - GET
441
+ Access-Control-Allow-Headers:
442
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
443
+ Access-Control-Expose-Headers:
444
+ - DataServiceVersion
445
+ Date:
446
+ - Mon, 18 Dec 2017 20:35:23 GMT
447
+ body:
448
+ encoding: UTF-8
449
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"@odata.type":"#ODataDemo.FeaturedProduct","ID":10,"Name":"Coffee","Description":"Bulk
450
+ size can of instant coffee","ReleaseDate":"1982-12-31T00:00:00Z","DiscontinuedDate":null,"Rating":1,"Price":6.99}]}'
451
+ http_version: '1.1'
452
+ adapter_metadata:
453
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$skip=10&$top=5
454
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
455
+ - request:
456
+ method: get
457
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?$skip=15&$top=5
458
+ body:
459
+ encoding: US-ASCII
460
+ string: ''
461
+ headers:
462
+ User-Agent:
463
+ - Typhoeus - https://github.com/typhoeus/typhoeus
464
+ OData-Version:
465
+ - '4.0'
466
+ Accept:
467
+ - application/atom+xml,application/json,text/plain
468
+ response:
469
+ status:
470
+ code: 200
471
+ message: OK
472
+ headers:
473
+ Cache-Control:
474
+ - no-cache
475
+ Content-Length:
476
+ - '95'
477
+ Content-Type:
478
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
479
+ Server:
480
+ - Microsoft-IIS/10.0
481
+ X-Content-Type-Options:
482
+ - nosniff
483
+ OData-Version:
484
+ - 4.0;
485
+ X-AspNet-Version:
486
+ - 4.0.30319
487
+ X-Powered-By:
488
+ - ASP.NET
489
+ Access-Control-Allow-Origin:
490
+ - "*"
491
+ Access-Control-Allow-Methods:
492
+ - GET
493
+ Access-Control-Allow-Headers:
494
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
495
+ Access-Control-Expose-Headers:
496
+ - DataServiceVersion
497
+ Date:
498
+ - Mon, 18 Dec 2017 20:35:23 GMT
499
+ body:
500
+ encoding: UTF-8
501
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[]}'
502
+ http_version: '1.1'
503
+ adapter_metadata:
504
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products?$skip=15&$top=5
505
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
506
+ - request:
507
+ method: get
508
+ uri: http://services.odata.org/V4/OData/OData.svc/Products(0)
509
+ body:
510
+ encoding: US-ASCII
511
+ string: ''
512
+ headers:
513
+ User-Agent:
514
+ - Typhoeus - https://github.com/typhoeus/typhoeus
515
+ OData-Version:
516
+ - '4.0'
517
+ Accept:
518
+ - application/atom+xml,application/json,text/plain
519
+ response:
520
+ status:
521
+ code: 200
522
+ message: OK
523
+ headers:
524
+ Cache-Control:
525
+ - no-cache
526
+ Content-Length:
527
+ - '232'
528
+ Content-Type:
529
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
530
+ Server:
531
+ - Microsoft-IIS/10.0
532
+ X-Content-Type-Options:
533
+ - nosniff
534
+ OData-Version:
535
+ - 4.0;
536
+ X-AspNet-Version:
537
+ - 4.0.30319
538
+ X-Powered-By:
539
+ - ASP.NET
540
+ Access-Control-Allow-Origin:
541
+ - "*"
542
+ Access-Control-Allow-Methods:
543
+ - GET
544
+ Access-Control-Allow-Headers:
545
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
546
+ Access-Control-Expose-Headers:
547
+ - DataServiceVersion
548
+ Date:
549
+ - Mon, 18 Dec 2017 20:35:23 GMT
550
+ body:
551
+ encoding: UTF-8
552
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":0,"Name":"Bread","Description":"Whole
553
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5}'
554
+ http_version: '1.1'
555
+ adapter_metadata:
556
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products(0)
557
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
558
+ - request:
559
+ method: get
560
+ uri: http://services.odata.org/V4/OData/OData.svc/Products/$count?$filter=Name%20eq%20'NonExistent'
561
+ body:
562
+ encoding: US-ASCII
563
+ string: ''
564
+ headers:
565
+ User-Agent:
566
+ - Typhoeus - https://github.com/typhoeus/typhoeus
567
+ OData-Version:
568
+ - '4.0'
569
+ Accept:
570
+ - application/atom+xml,application/json,text/plain
571
+ response:
572
+ status:
573
+ code: 200
574
+ message: OK
575
+ headers:
576
+ Cache-Control:
577
+ - no-cache
578
+ Content-Length:
579
+ - '1'
580
+ Content-Type:
581
+ - text/plain;charset=utf-8
582
+ Server:
583
+ - Microsoft-IIS/10.0
584
+ X-Content-Type-Options:
585
+ - nosniff
586
+ OData-Version:
587
+ - 4.0;
588
+ X-AspNet-Version:
589
+ - 4.0.30319
590
+ X-Powered-By:
591
+ - ASP.NET
592
+ Access-Control-Allow-Origin:
593
+ - "*"
594
+ Access-Control-Allow-Methods:
595
+ - GET
596
+ Access-Control-Allow-Headers:
597
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
598
+ Access-Control-Expose-Headers:
599
+ - DataServiceVersion
600
+ Date:
601
+ - Mon, 18 Dec 2017 20:35:23 GMT
602
+ body:
603
+ encoding: UTF-8
604
+ string: '0'
605
+ http_version: '1.1'
606
+ adapter_metadata:
607
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products/$count?$filter=Name%20eq%20'NonExistent'
608
+ recorded_at: Mon, 18 Dec 2017 20:35:23 GMT
609
+ - request:
610
+ method: get
611
+ uri: http://services.odata.org/V4/OData/OData.svc/Products(0)?$expand=Categories
612
+ body:
613
+ encoding: US-ASCII
614
+ string: ''
615
+ headers:
616
+ User-Agent:
617
+ - Typhoeus - https://github.com/typhoeus/typhoeus
618
+ OData-Version:
619
+ - '4.0'
620
+ Accept:
621
+ - application/atom+xml,application/json,text/plain
622
+ Expect:
623
+ - ''
624
+ response:
625
+ status:
626
+ code: 200
627
+ message: OK
628
+ headers:
629
+ Cache-Control:
630
+ - no-cache
631
+ Content-Length:
632
+ - '270'
633
+ Content-Type:
634
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
635
+ Server:
636
+ - Microsoft-IIS/10.0
637
+ X-Content-Type-Options:
638
+ - nosniff
639
+ OData-Version:
640
+ - 4.0;
641
+ X-AspNet-Version:
642
+ - 4.0.30319
643
+ X-Powered-By:
644
+ - ASP.NET
645
+ Access-Control-Allow-Origin:
646
+ - "*"
647
+ Access-Control-Allow-Methods:
648
+ - GET
649
+ Access-Control-Allow-Headers:
650
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
651
+ Access-Control-Expose-Headers:
652
+ - DataServiceVersion
653
+ Date:
654
+ - Fri, 26 Jan 2018 21:54:45 GMT
655
+ body:
656
+ encoding: UTF-8
657
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":0,"Name":"Bread","Description":"Whole
658
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5,"Categories":[{"ID":0,"Name":"Food"}]}'
659
+ http_version: '1.1'
660
+ adapter_metadata:
661
+ effective_url: http://services.odata.org/V4/OData/OData.svc/Products(0)?$expand=Categories
662
+ recorded_at: Fri, 26 Jan 2018 21:54:45 GMT
663
+ - request:
664
+ method: get
665
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?%24top=5
666
+ body:
667
+ encoding: US-ASCII
668
+ string: ''
669
+ headers:
670
+ User-Agent:
671
+ - Faraday v0.15.0
672
+ Accept:
673
+ - application/atom+xml,application/json,application/xml,text/plain
674
+ Content-Type:
675
+ - application/atom+xml,application/json,application/xml,text/plain
676
+ OData-Version:
677
+ - '4.0'
678
+ response:
679
+ status:
680
+ code: 200
681
+ message: OK
682
+ headers:
683
+ cache-control:
684
+ - no-cache
685
+ content-length:
686
+ - '523'
687
+ content-type:
688
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
689
+ vary:
690
+ - Accept-Encoding
691
+ server:
692
+ - Microsoft-IIS/10.0
693
+ x-content-type-options:
694
+ - nosniff
695
+ odata-version:
696
+ - 4.0;
697
+ x-aspnet-version:
698
+ - 4.0.30319
699
+ x-powered-by:
700
+ - ASP.NET
701
+ access-control-allow-origin:
702
+ - "*"
703
+ access-control-allow-methods:
704
+ - GET
705
+ access-control-allow-headers:
706
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
707
+ access-control-expose-headers:
708
+ - DataServiceVersion
709
+ date:
710
+ - Tue, 24 Apr 2018 01:58:53 GMT
711
+ connection:
712
+ - close
713
+ body:
714
+ encoding: ASCII-8BIT
715
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":0,"Name":"Bread","Description":"Whole
716
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5},{"ID":1,"Name":"Milk","Description":"Low
717
+ fat milk","ReleaseDate":"1995-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":3.5},{"ID":2,"Name":"Vint
718
+ soda","Description":"Americana Variety - Mix of 6 flavors","ReleaseDate":"2000-10-01T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":20.9},{"ID":3,"Name":"Havina
719
+ Cola","Description":"The Original Key Lime Cola","ReleaseDate":"2005-10-01T00:00:00Z","DiscontinuedDate":"2006-10-01T00:00:00Z","Rating":3,"Price":19.9},{"ID":4,"Name":"Fruit
720
+ Punch","Description":"Mango flavor, 8.3 Ounce Cans (Pack of 24)","ReleaseDate":"2003-01-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.99}]}'
721
+ http_version:
722
+ recorded_at: Tue, 24 Apr 2018 01:58:53 GMT
723
+ - request:
724
+ method: get
725
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?%24skip=5&%24top=5
726
+ body:
727
+ encoding: US-ASCII
728
+ string: ''
729
+ headers:
730
+ User-Agent:
731
+ - Faraday v0.15.0
732
+ Accept:
733
+ - application/atom+xml,application/json,application/xml,text/plain
734
+ Content-Type:
735
+ - application/atom+xml,application/json,application/xml,text/plain
736
+ OData-Version:
737
+ - '4.0'
738
+ response:
739
+ status:
740
+ code: 200
741
+ message: OK
742
+ headers:
743
+ cache-control:
744
+ - no-cache
745
+ content-length:
746
+ - '578'
747
+ content-type:
748
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
749
+ vary:
750
+ - Accept-Encoding
751
+ server:
752
+ - Microsoft-IIS/10.0
753
+ x-content-type-options:
754
+ - nosniff
755
+ odata-version:
756
+ - 4.0;
757
+ x-aspnet-version:
758
+ - 4.0.30319
759
+ x-powered-by:
760
+ - ASP.NET
761
+ access-control-allow-origin:
762
+ - "*"
763
+ access-control-allow-methods:
764
+ - GET
765
+ access-control-allow-headers:
766
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
767
+ access-control-expose-headers:
768
+ - DataServiceVersion
769
+ date:
770
+ - Tue, 24 Apr 2018 01:58:53 GMT
771
+ connection:
772
+ - close
773
+ body:
774
+ encoding: ASCII-8BIT
775
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"ID":5,"Name":"Cranberry
776
+ Juice","Description":"16-Ounce Plastic Bottles (Pack of 12)","ReleaseDate":"2006-08-04T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":22.8},{"ID":6,"Name":"Pink
777
+ Lemonade","Description":"36 Ounce Cans (Pack of 3)","ReleaseDate":"2006-11-05T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":18.8},{"ID":7,"Name":"DVD
778
+ Player","Description":"1080P Upconversion DVD Player","ReleaseDate":"2006-11-15T00:00:00Z","DiscontinuedDate":null,"Rating":5,"Price":35.88},{"ID":8,"Name":"LCD
779
+ HDTV","Description":"42 inch 1080p LCD with Built-in Blu-ray Disc Player","ReleaseDate":"2008-05-08T00:00:00Z","DiscontinuedDate":null,"Rating":3,"Price":1088.8},{"@odata.type":"#ODataDemo.FeaturedProduct","ID":9,"Name":"Lemonade","Description":"Classic,
780
+ refreshing lemonade (Single bottle)","ReleaseDate":"1970-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":7,"Price":1.01}]}'
781
+ http_version:
782
+ recorded_at: Tue, 24 Apr 2018 01:58:53 GMT
783
+ - request:
784
+ method: get
785
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?%24skip=10&%24top=5
786
+ body:
787
+ encoding: US-ASCII
788
+ string: ''
789
+ headers:
790
+ User-Agent:
791
+ - Faraday v0.15.0
792
+ Accept:
793
+ - application/atom+xml,application/json,application/xml,text/plain
794
+ Content-Type:
795
+ - application/atom+xml,application/json,application/xml,text/plain
796
+ OData-Version:
797
+ - '4.0'
798
+ response:
799
+ status:
800
+ code: 200
801
+ message: OK
802
+ headers:
803
+ cache-control:
804
+ - no-cache
805
+ content-length:
806
+ - '343'
807
+ content-type:
808
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
809
+ vary:
810
+ - Accept-Encoding
811
+ server:
812
+ - Microsoft-IIS/10.0
813
+ x-content-type-options:
814
+ - nosniff
815
+ odata-version:
816
+ - 4.0;
817
+ x-aspnet-version:
818
+ - 4.0.30319
819
+ x-powered-by:
820
+ - ASP.NET
821
+ access-control-allow-origin:
822
+ - "*"
823
+ access-control-allow-methods:
824
+ - GET
825
+ access-control-allow-headers:
826
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
827
+ access-control-expose-headers:
828
+ - DataServiceVersion
829
+ date:
830
+ - Tue, 24 Apr 2018 01:58:52 GMT
831
+ connection:
832
+ - close
833
+ body:
834
+ encoding: ASCII-8BIT
835
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[{"@odata.type":"#ODataDemo.FeaturedProduct","ID":10,"Name":"Coffee","Description":"Bulk
836
+ size can of instant coffee","ReleaseDate":"1982-12-31T00:00:00Z","DiscontinuedDate":null,"Rating":1,"Price":6.99}]}'
837
+ http_version:
838
+ recorded_at: Tue, 24 Apr 2018 01:58:53 GMT
839
+ - request:
840
+ method: get
841
+ uri: http://services.odata.org/V4/OData/OData.svc/Products?%24skip=15&%24top=5
842
+ body:
843
+ encoding: US-ASCII
844
+ string: ''
845
+ headers:
846
+ User-Agent:
847
+ - Faraday v0.15.0
848
+ Accept:
849
+ - application/atom+xml,application/json,application/xml,text/plain
850
+ Content-Type:
851
+ - application/atom+xml,application/json,application/xml,text/plain
852
+ OData-Version:
853
+ - '4.0'
854
+ response:
855
+ status:
856
+ code: 200
857
+ message: OK
858
+ headers:
859
+ cache-control:
860
+ - no-cache
861
+ content-length:
862
+ - '200'
863
+ content-type:
864
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
865
+ vary:
866
+ - Accept-Encoding
867
+ server:
868
+ - Microsoft-IIS/10.0
869
+ x-content-type-options:
870
+ - nosniff
871
+ odata-version:
872
+ - 4.0;
873
+ x-aspnet-version:
874
+ - 4.0.30319
875
+ x-powered-by:
876
+ - ASP.NET
877
+ access-control-allow-origin:
878
+ - "*"
879
+ access-control-allow-methods:
880
+ - GET
881
+ access-control-allow-headers:
882
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
883
+ access-control-expose-headers:
884
+ - DataServiceVersion
885
+ date:
886
+ - Tue, 24 Apr 2018 01:58:53 GMT
887
+ connection:
888
+ - close
889
+ body:
890
+ encoding: ASCII-8BIT
891
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products","value":[]}'
892
+ http_version:
893
+ recorded_at: Tue, 24 Apr 2018 01:58:53 GMT
894
+ - request:
895
+ method: get
896
+ uri: http://services.odata.org/V4/OData/OData.svc/Products/$count?%24filter=Name+eq+%27Bread%27
897
+ body:
898
+ encoding: US-ASCII
899
+ string: ''
900
+ headers:
901
+ User-Agent:
902
+ - Faraday v0.15.0
903
+ Accept:
904
+ - application/atom+xml,application/json,application/xml,text/plain
905
+ Content-Type:
906
+ - application/atom+xml,application/json,application/xml,text/plain
907
+ OData-Version:
908
+ - '4.0'
909
+ response:
910
+ status:
911
+ code: 200
912
+ message: OK
913
+ headers:
914
+ cache-control:
915
+ - no-cache
916
+ content-length:
917
+ - '120'
918
+ content-type:
919
+ - text/plain;charset=utf-8
920
+ vary:
921
+ - Accept-Encoding
922
+ server:
923
+ - Microsoft-IIS/10.0
924
+ x-content-type-options:
925
+ - nosniff
926
+ odata-version:
927
+ - 4.0;
928
+ x-aspnet-version:
929
+ - 4.0.30319
930
+ x-powered-by:
931
+ - ASP.NET
932
+ access-control-allow-origin:
933
+ - "*"
934
+ access-control-allow-methods:
935
+ - GET
936
+ access-control-allow-headers:
937
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
938
+ access-control-expose-headers:
939
+ - DataServiceVersion
940
+ date:
941
+ - Tue, 24 Apr 2018 01:58:53 GMT
942
+ connection:
943
+ - close
944
+ body:
945
+ encoding: ASCII-8BIT
946
+ string: '1'
947
+ http_version:
948
+ recorded_at: Tue, 24 Apr 2018 01:58:54 GMT
949
+ - request:
950
+ method: get
951
+ uri: http://services.odata.org/V4/OData/OData.svc/Products(0)?%24expand=Categories
952
+ body:
953
+ encoding: US-ASCII
954
+ string: ''
955
+ headers:
956
+ User-Agent:
957
+ - Faraday v0.15.0
958
+ Accept:
959
+ - application/atom+xml,application/json,application/xml,text/plain
960
+ Content-Type:
961
+ - application/atom+xml,application/json,application/xml,text/plain
962
+ OData-Version:
963
+ - '4.0'
964
+ response:
965
+ status:
966
+ code: 200
967
+ message: OK
968
+ headers:
969
+ cache-control:
970
+ - no-cache
971
+ content-length:
972
+ - '326'
973
+ content-type:
974
+ - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
975
+ vary:
976
+ - Accept-Encoding
977
+ server:
978
+ - Microsoft-IIS/10.0
979
+ x-content-type-options:
980
+ - nosniff
981
+ odata-version:
982
+ - 4.0;
983
+ x-aspnet-version:
984
+ - 4.0.30319
985
+ x-powered-by:
986
+ - ASP.NET
987
+ access-control-allow-origin:
988
+ - "*"
989
+ access-control-allow-methods:
990
+ - GET
991
+ access-control-allow-headers:
992
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
993
+ access-control-expose-headers:
994
+ - DataServiceVersion
995
+ date:
996
+ - Tue, 24 Apr 2018 01:58:53 GMT
997
+ connection:
998
+ - close
999
+ body:
1000
+ encoding: ASCII-8BIT
1001
+ string: '{"@odata.context":"http://services.odata.org/V4/OData/OData.svc/$metadata#Products/$entity","ID":0,"Name":"Bread","Description":"Whole
1002
+ grain bread","ReleaseDate":"1992-01-01T00:00:00Z","DiscontinuedDate":null,"Rating":4,"Price":2.5,"Categories":[{"ID":0,"Name":"Food"}]}'
1003
+ http_version:
1004
+ recorded_at: Tue, 24 Apr 2018 01:58:54 GMT
1005
+ - request:
1006
+ method: get
1007
+ uri: http://services.odata.org/V4/OData/OData.svc/Products/$count?%24filter=Name+eq+%27NonExistent%27
1008
+ body:
1009
+ encoding: US-ASCII
1010
+ string: ''
1011
+ headers:
1012
+ User-Agent:
1013
+ - Faraday v0.15.0
1014
+ Accept:
1015
+ - application/atom+xml,application/json,application/xml,text/plain
1016
+ Content-Type:
1017
+ - application/atom+xml,application/json,application/xml,text/plain
1018
+ OData-Version:
1019
+ - '4.0'
1020
+ response:
1021
+ status:
1022
+ code: 200
1023
+ message: OK
1024
+ headers:
1025
+ cache-control:
1026
+ - no-cache
1027
+ content-length:
1028
+ - '120'
1029
+ content-type:
1030
+ - text/plain;charset=utf-8
1031
+ vary:
1032
+ - Accept-Encoding
1033
+ server:
1034
+ - Microsoft-IIS/10.0
1035
+ x-content-type-options:
1036
+ - nosniff
1037
+ odata-version:
1038
+ - 4.0;
1039
+ x-aspnet-version:
1040
+ - 4.0.30319
1041
+ x-powered-by:
1042
+ - ASP.NET
1043
+ access-control-allow-origin:
1044
+ - "*"
1045
+ access-control-allow-methods:
1046
+ - GET
1047
+ access-control-allow-headers:
1048
+ - Accept, Origin, Content-Type, MaxDataServiceVersion
1049
+ access-control-expose-headers:
1050
+ - DataServiceVersion
1051
+ date:
1052
+ - Tue, 24 Apr 2018 01:58:54 GMT
1053
+ connection:
1054
+ - close
1055
+ body:
1056
+ encoding: ASCII-8BIT
1057
+ string: '0'
1058
+ http_version:
1059
+ recorded_at: Tue, 24 Apr 2018 01:58:54 GMT
1060
+ recorded_with: VCR 4.0.0