ruby_odata 0.1.6 → 0.2.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +2 -0
- data/Guardfile +1 -1
- data/features/basic_auth.feature +13 -13
- data/features/cassettes/basic_auth_protected_resource.yml +22 -20
- data/features/cassettes/batch_request_additions.yml +26 -26
- data/features/cassettes/batch_request_deletes.yml +27 -27
- data/features/cassettes/batch_request_updates.yml +26 -26
- data/features/cassettes/clean_database_for_testing.yml +10 -10
- data/features/cassettes/cucumber_tags/basic_auth.yml +54 -163
- data/features/cassettes/cucumber_tags/batch_request.yml +229 -1118
- data/features/cassettes/cucumber_tags/complex_types.yml +81 -191
- data/features/cassettes/cucumber_tags/error_handling.yml +45 -33
- data/features/cassettes/cucumber_tags/query_builder.yml +555 -1248
- data/features/cassettes/cucumber_tags/service_manage.yml +216 -591
- data/features/cassettes/cucumber_tags/service_methods.yml +137 -412
- data/features/cassettes/cucumber_tags/ssl.yml +121 -117
- data/features/cassettes/cucumber_tags/type_conversion.yml +104 -170
- data/features/cassettes/service_manage_additions.yml +26 -28
- data/features/cassettes/service_manage_deletions.yml +21 -21
- data/features/cassettes/service_manage_deletions_2.yml +21 -21
- data/features/cassettes/unsecured_metadata.yml +14 -14
- data/features/service.feature +37 -37
- data/features/service_methods.feature +38 -38
- data/features/step_definitions/pickle_steps.rb +5 -5
- data/features/step_definitions/service_steps.rb +26 -26
- data/features/support/hooks.rb +3 -2
- data/features/support/vcr.rb +13 -13
- data/lib/ruby_odata.rb +4 -1
- data/lib/ruby_odata/association.rb +15 -8
- data/lib/ruby_odata/class_builder.rb +5 -1
- data/lib/ruby_odata/query_builder.rb +171 -173
- data/lib/ruby_odata/resource.rb +153 -0
- data/lib/ruby_odata/service.rb +30 -30
- data/lib/ruby_odata/version.rb +1 -1
- data/ruby_odata.gemspec +48 -43
- data/spec/association_spec.rb +15 -11
- data/spec/fixtures/decimal/metadata.xml +1 -0
- data/spec/fixtures/v4/edmx_metadata.xml +145 -0
- data/spec/fixtures/v4/result_categories.xml +0 -0
- data/spec/revised_service_spec.rb +16 -11
- data/spec/service_spec.rb +149 -114
- data/spec/service_v4_spec.rb +102 -0
- data/spec/spec_helper.rb +6 -1
- metadata +109 -32
- data/features/cassettes/cucumber_tags/service.yml +0 -234
@@ -1,245 +1,33 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
|
6
|
-
body:
|
7
|
-
encoding: ASCII-8BIT
|
8
|
-
string: ! '--batch_94f9-mlhu-308k
|
9
|
-
|
10
|
-
Content-Type: multipart/mixed;boundary=changeset_9pqe-rvka-6tyj
|
11
|
-
|
12
|
-
|
13
|
-
--changeset_9pqe-rvka-6tyj
|
14
|
-
|
15
|
-
Content-Type: application/http
|
16
|
-
|
17
|
-
Content-Transfer-Encoding: binary
|
18
|
-
|
19
|
-
|
20
|
-
POST http://win7dev:8989/SampleService/RubyOData.svc/Categories HTTP/1.1
|
21
|
-
|
22
|
-
Accept-Charset: utf-8
|
23
|
-
|
24
|
-
Content-Type: application/json;charset=utf-8
|
25
|
-
|
26
|
-
|
27
|
-
{"Name":"Category 0069","AuditFields":{"CreatedBy":"Machinist"}}
|
28
|
-
|
29
|
-
--changeset_9pqe-rvka-6tyj
|
30
|
-
|
31
|
-
Content-Type: application/http
|
32
|
-
|
33
|
-
Content-Transfer-Encoding: binary
|
34
|
-
|
35
|
-
|
36
|
-
POST http://win7dev:8989/SampleService/RubyOData.svc/Categories HTTP/1.1
|
37
|
-
|
38
|
-
Accept-Charset: utf-8
|
39
|
-
|
40
|
-
Content-Type: application/json;charset=utf-8
|
41
|
-
|
42
|
-
|
43
|
-
{"Name":"Category 0070","AuditFields":{"CreatedBy":"Machinist"}}
|
44
|
-
|
45
|
-
--changeset_9pqe-rvka-6tyj
|
46
|
-
|
47
|
-
Content-Type: application/http
|
48
|
-
|
49
|
-
Content-Transfer-Encoding: binary
|
50
|
-
|
51
|
-
|
52
|
-
POST http://win7dev:8989/SampleService/RubyOData.svc/Categories HTTP/1.1
|
53
|
-
|
54
|
-
Accept-Charset: utf-8
|
55
|
-
|
56
|
-
Content-Type: application/json;charset=utf-8
|
57
|
-
|
58
|
-
|
59
|
-
{"Name":"Category 0071","AuditFields":{"CreatedBy":"Machinist"}}
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
--changeset_9pqe-rvka-6tyj--
|
64
|
-
|
65
|
-
--batch_94f9-mlhu-308k--'
|
66
|
-
headers:
|
67
|
-
Accept:
|
68
|
-
- ! '*/*; q=0.5, application/xml'
|
69
|
-
Accept-Encoding:
|
70
|
-
- gzip, deflate
|
71
|
-
Content-Type:
|
72
|
-
- multipart/mixed; boundary=batch_94f9-mlhu-308k
|
73
|
-
Content-Length:
|
74
|
-
- '1040'
|
75
|
-
User-Agent:
|
76
|
-
- Ruby
|
77
|
-
response:
|
78
|
-
status:
|
79
|
-
code: 202
|
80
|
-
message: Accepted
|
81
|
-
headers:
|
82
|
-
Cache-Control:
|
83
|
-
- no-cache
|
84
|
-
Content-Length:
|
85
|
-
- '5140'
|
86
|
-
Content-Type:
|
87
|
-
- multipart/mixed; boundary=batchresponse_6b44618b-5c72-48e3-8241-a268e4ad9df3
|
88
|
-
Server:
|
89
|
-
- Microsoft-IIS/7.5
|
90
|
-
Set-Cookie:
|
91
|
-
- ASP.NET_SessionId=5udlumqwmluujxabt15s1byf; path=/; HttpOnly
|
92
|
-
X-Content-Type-Options:
|
93
|
-
- nosniff
|
94
|
-
Dataserviceversion:
|
95
|
-
- 1.0;
|
96
|
-
X-Aspnet-Version:
|
97
|
-
- 4.0.30319
|
98
|
-
X-Powered-By:
|
99
|
-
- ASP.NET
|
100
|
-
Date:
|
101
|
-
- Tue, 07 Aug 2012 19:35:42 GMT
|
102
|
-
body:
|
103
|
-
encoding: US-ASCII
|
104
|
-
string: ! "--batchresponse_6b44618b-5c72-48e3-8241-a268e4ad9df3\r\nContent-Type:
|
105
|
-
multipart/mixed; boundary=changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\n\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\nContent-Type:
|
106
|
-
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
|
107
|
-
Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
|
108
|
-
nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)\r\n\r\n<?xml
|
109
|
-
version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
|
110
|
-
xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
|
111
|
-
xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
|
112
|
-
xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)</id><category
|
113
|
-
term=\"RubyODataService.Category\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
|
114
|
-
/><link rel=\"edit\" title=\"Category\" href=\"Categories(1)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products\"
|
115
|
-
type=\"application/atom+xml;type=feed\" title=\"Products\" href=\"Categories(1)/Products\"
|
116
|
-
/><title /><updated>2012-08-07T19:35:42Z</updated><author><name /></author><content
|
117
|
-
type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">1</d:Id><d:Name>Category
|
118
|
-
0069</d:Name><d:AuditFields m:type=\"RubyODataService.AuditFields\"><d:CreateDate
|
119
|
-
m:type=\"Edm.DateTime\">2012-08-07T19:35:42.078125Z</d:CreateDate><d:ModifiedDate
|
120
|
-
m:type=\"Edm.DateTime\">2012-08-07T19:35:42.078125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\nContent-Type:
|
121
|
-
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
|
122
|
-
Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
|
123
|
-
nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Categories(2)\r\n\r\n<?xml
|
124
|
-
version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
|
125
|
-
xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
|
126
|
-
xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
|
127
|
-
xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Categories(2)</id><category
|
128
|
-
term=\"RubyODataService.Category\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
|
129
|
-
/><link rel=\"edit\" title=\"Category\" href=\"Categories(2)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products\"
|
130
|
-
type=\"application/atom+xml;type=feed\" title=\"Products\" href=\"Categories(2)/Products\"
|
131
|
-
/><title /><updated>2012-08-07T19:35:42Z</updated><author><name /></author><content
|
132
|
-
type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">2</d:Id><d:Name>Category
|
133
|
-
0070</d:Name><d:AuditFields m:type=\"RubyODataService.AuditFields\"><d:CreateDate
|
134
|
-
m:type=\"Edm.DateTime\">2012-08-07T19:35:42.078125Z</d:CreateDate><d:ModifiedDate
|
135
|
-
m:type=\"Edm.DateTime\">2012-08-07T19:35:42.078125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48\r\nContent-Type:
|
136
|
-
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
|
137
|
-
Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
|
138
|
-
nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Categories(3)\r\n\r\n<?xml
|
139
|
-
version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
|
140
|
-
xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
|
141
|
-
xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
|
142
|
-
xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Categories(3)</id><category
|
143
|
-
term=\"RubyODataService.Category\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
|
144
|
-
/><link rel=\"edit\" title=\"Category\" href=\"Categories(3)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products\"
|
145
|
-
type=\"application/atom+xml;type=feed\" title=\"Products\" href=\"Categories(3)/Products\"
|
146
|
-
/><title /><updated>2012-08-07T19:35:42Z</updated><author><name /></author><content
|
147
|
-
type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">3</d:Id><d:Name>Category
|
148
|
-
0071</d:Name><d:AuditFields m:type=\"RubyODataService.AuditFields\"><d:CreateDate
|
149
|
-
m:type=\"Edm.DateTime\">2012-08-07T19:35:42.078125Z</d:CreateDate><d:ModifiedDate
|
150
|
-
m:type=\"Edm.DateTime\">2012-08-07T19:35:42.078125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_2858f6fb-523f-4e9b-9876-162697cadd48--\r\n--batchresponse_6b44618b-5c72-48e3-8241-a268e4ad9df3--\r\n"
|
151
|
-
http_version: !!null
|
152
|
-
recorded_at: Tue, 07 Aug 2012 19:35:43 GMT
|
153
3
|
- request:
|
154
4
|
method: get
|
155
|
-
uri: http://
|
5
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/EntityCategoryWebGet
|
156
6
|
body:
|
157
7
|
encoding: US-ASCII
|
158
8
|
string: ''
|
159
9
|
headers:
|
160
|
-
Accept:
|
161
|
-
- ! '*/*; q=0.5, application/xml'
|
162
|
-
Accept-Encoding:
|
163
|
-
- gzip, deflate
|
164
10
|
User-Agent:
|
165
11
|
- Ruby
|
166
|
-
response:
|
167
|
-
status:
|
168
|
-
code: 200
|
169
|
-
message: OK
|
170
|
-
headers:
|
171
|
-
Cache-Control:
|
172
|
-
- no-cache
|
173
|
-
Content-Length:
|
174
|
-
- '1495'
|
175
|
-
Content-Type:
|
176
|
-
- application/atom+xml;type=feed;charset=utf-8
|
177
|
-
Server:
|
178
|
-
- Microsoft-IIS/7.5
|
179
|
-
Set-Cookie:
|
180
|
-
- ASP.NET_SessionId=0xwuqacikal44x21fdh3xbaq; path=/; HttpOnly
|
181
|
-
X-Content-Type-Options:
|
182
|
-
- nosniff
|
183
|
-
Dataserviceversion:
|
184
|
-
- 1.0;
|
185
|
-
X-Aspnet-Version:
|
186
|
-
- 4.0.30319
|
187
|
-
X-Powered-By:
|
188
|
-
- ASP.NET
|
189
|
-
Date:
|
190
|
-
- Tue, 07 Aug 2012 21:21:54 GMT
|
191
|
-
body:
|
192
|
-
encoding: US-ASCII
|
193
|
-
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
|
194
|
-
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
195
|
-
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
196
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/EntityCategoryWebGet</id><title
|
197
|
-
type="text">EntityCategoryWebGet</title><updated>2012-08-07T21:21:54Z</updated><link
|
198
|
-
rel="self" title="EntityCategoryWebGet" href="EntityCategoryWebGet" /><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)</id><category
|
199
|
-
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
200
|
-
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
201
|
-
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
202
|
-
/><title /><updated>2012-08-07T21:21:54Z</updated><author><name /></author><content
|
203
|
-
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Category
|
204
|
-
0074</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
|
205
|
-
m:type="Edm.DateTime">2012-08-07T21:21:54.25</d:CreateDate><d:ModifiedDate
|
206
|
-
m:type="Edm.DateTime">2012-08-07T21:21:54.25</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
|
207
|
-
http_version: !!null
|
208
|
-
recorded_at: Tue, 07 Aug 2012 21:21:54 GMT
|
209
|
-
- request:
|
210
|
-
method: post
|
211
|
-
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
|
212
|
-
body:
|
213
|
-
encoding: ASCII-8BIT
|
214
|
-
string: ! '{"Name":"Category 0075","AuditFields":{"CreatedBy":"Machinist"},"Id":1}'
|
215
|
-
headers:
|
216
12
|
Accept:
|
217
|
-
-
|
13
|
+
- "*/*; q=0.5, application/xml"
|
218
14
|
Accept-Encoding:
|
219
|
-
- gzip,
|
220
|
-
Content-Type:
|
221
|
-
- application/json
|
222
|
-
Content-Length:
|
223
|
-
- '71'
|
224
|
-
User-Agent:
|
225
|
-
- Ruby
|
15
|
+
- gzip,deflate
|
226
16
|
response:
|
227
17
|
status:
|
228
|
-
code:
|
229
|
-
message:
|
18
|
+
code: 200
|
19
|
+
message: ''
|
230
20
|
headers:
|
231
21
|
Cache-Control:
|
232
|
-
-
|
22
|
+
- private
|
233
23
|
Content-Length:
|
234
|
-
- '
|
24
|
+
- '1506'
|
235
25
|
Content-Type:
|
236
|
-
- application/atom+xml;type=
|
237
|
-
Location:
|
238
|
-
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)
|
26
|
+
- application/atom+xml;type=feed;charset=utf-8
|
239
27
|
Server:
|
240
|
-
- Microsoft-IIS/
|
28
|
+
- Microsoft-IIS/8.0
|
241
29
|
Set-Cookie:
|
242
|
-
- ASP.NET_SessionId=
|
30
|
+
- ASP.NET_SessionId=2o0uen2eylbkss3ywr4bpcrz; path=/; HttpOnly
|
243
31
|
X-Content-Type-Options:
|
244
32
|
- nosniff
|
245
33
|
Dataserviceversion:
|
@@ -249,51 +37,53 @@ http_interactions:
|
|
249
37
|
X-Powered-By:
|
250
38
|
- ASP.NET
|
251
39
|
Date:
|
252
|
-
-
|
40
|
+
- Sun, 26 Apr 2015 16:29:56 GMT
|
253
41
|
body:
|
254
|
-
encoding:
|
255
|
-
string: <?xml version="1.0" encoding="utf-8"?><
|
42
|
+
encoding: UTF-8
|
43
|
+
string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
256
44
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
257
45
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
258
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
46
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/EntityCategoryWebGet</id><title
|
47
|
+
type="text">EntityCategoryWebGet</title><updated>2015-04-26T16:29:56Z</updated><link
|
48
|
+
rel="self" title="EntityCategoryWebGet" href="EntityCategoryWebGet" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(1)</id><category
|
259
49
|
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
260
50
|
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
261
51
|
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
262
|
-
/><title /><updated>
|
52
|
+
/><title /><updated>2015-04-26T16:29:56Z</updated><author><name /></author><content
|
263
53
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Category
|
264
|
-
|
265
|
-
m:type="Edm.DateTime">
|
266
|
-
m:type="Edm.DateTime">
|
267
|
-
http_version:
|
268
|
-
recorded_at:
|
54
|
+
0070</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
|
55
|
+
m:type="Edm.DateTime">2015-04-26T16:29:56.363</d:CreateDate><d:ModifiedDate
|
56
|
+
m:type="Edm.DateTime">2015-04-26T16:29:56.363</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
|
57
|
+
http_version:
|
58
|
+
recorded_at: Sun, 26 Apr 2015 16:29:56 GMT
|
269
59
|
- request:
|
270
60
|
method: get
|
271
|
-
uri: http://
|
61
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/EntitySingleCategoryWebGet?id=1
|
272
62
|
body:
|
273
63
|
encoding: US-ASCII
|
274
64
|
string: ''
|
275
65
|
headers:
|
276
|
-
Accept:
|
277
|
-
- ! '*/*; q=0.5, application/xml'
|
278
|
-
Accept-Encoding:
|
279
|
-
- gzip, deflate
|
280
66
|
User-Agent:
|
281
67
|
- Ruby
|
68
|
+
Accept:
|
69
|
+
- "*/*; q=0.5, application/xml"
|
70
|
+
Accept-Encoding:
|
71
|
+
- gzip,deflate
|
282
72
|
response:
|
283
73
|
status:
|
284
74
|
code: 200
|
285
|
-
message:
|
75
|
+
message: ''
|
286
76
|
headers:
|
287
77
|
Cache-Control:
|
288
|
-
-
|
78
|
+
- private
|
289
79
|
Content-Length:
|
290
|
-
- '
|
80
|
+
- '1251'
|
291
81
|
Content-Type:
|
292
82
|
- application/atom+xml;type=entry;charset=utf-8
|
293
83
|
Server:
|
294
|
-
- Microsoft-IIS/
|
84
|
+
- Microsoft-IIS/8.0
|
295
85
|
Set-Cookie:
|
296
|
-
- ASP.NET_SessionId=
|
86
|
+
- ASP.NET_SessionId=oeaodftow4uoex14rzugkymh; path=/; HttpOnly
|
297
87
|
X-Content-Type-Options:
|
298
88
|
- nosniff
|
299
89
|
Dataserviceversion:
|
@@ -303,116 +93,55 @@ http_interactions:
|
|
303
93
|
X-Powered-By:
|
304
94
|
- ASP.NET
|
305
95
|
Date:
|
306
|
-
-
|
96
|
+
- Sun, 26 Apr 2015 16:29:56 GMT
|
307
97
|
body:
|
308
|
-
encoding:
|
309
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
98
|
+
encoding: UTF-8
|
99
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
310
100
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
311
101
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
312
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
102
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(1)</id><category
|
313
103
|
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
314
104
|
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
315
105
|
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
316
|
-
/><title /><updated>
|
106
|
+
/><title /><updated>2015-04-26T16:29:57Z</updated><author><name /></author><content
|
317
107
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Category
|
318
|
-
|
319
|
-
m:type="Edm.DateTime">
|
320
|
-
m:type="Edm.DateTime">
|
321
|
-
http_version:
|
322
|
-
recorded_at:
|
108
|
+
0071</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
|
109
|
+
m:type="Edm.DateTime">2015-04-26T16:29:56.957</d:CreateDate><d:ModifiedDate
|
110
|
+
m:type="Edm.DateTime">2015-04-26T16:29:56.957</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
111
|
+
http_version:
|
112
|
+
recorded_at: Sun, 26 Apr 2015 16:29:57 GMT
|
323
113
|
- request:
|
324
114
|
method: post
|
325
|
-
uri: http://
|
115
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories
|
326
116
|
body:
|
327
|
-
encoding:
|
328
|
-
string:
|
117
|
+
encoding: UTF-8
|
118
|
+
string: '{"Name":"Cat2","AuditFields":{"CreatedBy":"Machinist"}}'
|
329
119
|
headers:
|
330
|
-
Accept:
|
331
|
-
- ! '*/*; q=0.5, application/xml'
|
332
|
-
Accept-Encoding:
|
333
|
-
- gzip, deflate
|
334
|
-
Content-Type:
|
335
|
-
- application/json
|
336
|
-
Content-Length:
|
337
|
-
- '55'
|
338
120
|
User-Agent:
|
339
121
|
- Ruby
|
340
|
-
response:
|
341
|
-
status:
|
342
|
-
code: 201
|
343
|
-
message: Created
|
344
|
-
headers:
|
345
|
-
Cache-Control:
|
346
|
-
- no-cache
|
347
|
-
Content-Length:
|
348
|
-
- '1236'
|
349
|
-
Content-Type:
|
350
|
-
- application/atom+xml;type=entry;charset=utf-8
|
351
|
-
Location:
|
352
|
-
- http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)
|
353
|
-
Server:
|
354
|
-
- Microsoft-IIS/7.5
|
355
|
-
Set-Cookie:
|
356
|
-
- ASP.NET_SessionId=qpe2n5za5bzgul5iumtthvqe; path=/; HttpOnly
|
357
|
-
X-Content-Type-Options:
|
358
|
-
- nosniff
|
359
|
-
Dataserviceversion:
|
360
|
-
- 1.0;
|
361
|
-
X-Aspnet-Version:
|
362
|
-
- 4.0.30319
|
363
|
-
X-Powered-By:
|
364
|
-
- ASP.NET
|
365
|
-
Date:
|
366
|
-
- Tue, 07 Aug 2012 21:21:55 GMT
|
367
|
-
body:
|
368
|
-
encoding: US-ASCII
|
369
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
|
370
|
-
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
371
|
-
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
372
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Categories(1)</id><category
|
373
|
-
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
374
|
-
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
375
|
-
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
376
|
-
/><title /><updated>2012-08-07T21:21:55Z</updated><author><name /></author><content
|
377
|
-
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Cat1</d:Name><d:AuditFields
|
378
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:21:55.25Z</d:CreateDate><d:ModifiedDate
|
379
|
-
m:type="Edm.DateTime">2012-08-07T21:21:55.25Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
380
|
-
http_version: !!null
|
381
|
-
recorded_at: Tue, 07 Aug 2012 21:21:55 GMT
|
382
|
-
- request:
|
383
|
-
method: post
|
384
|
-
uri: http://win7dev:8989/SampleService/RubyOData.svc/Categories
|
385
|
-
body:
|
386
|
-
encoding: ASCII-8BIT
|
387
|
-
string: ! '{"Name":"Cat2","AuditFields":{"CreatedBy":"Machinist"}}'
|
388
|
-
headers:
|
389
122
|
Accept:
|
390
|
-
-
|
391
|
-
Accept-Encoding:
|
392
|
-
- gzip, deflate
|
123
|
+
- "*/*; q=0.5, application/xml"
|
393
124
|
Content-Type:
|
394
125
|
- application/json
|
395
|
-
|
396
|
-
-
|
397
|
-
User-Agent:
|
398
|
-
- Ruby
|
126
|
+
Accept-Encoding:
|
127
|
+
- gzip,deflate
|
399
128
|
response:
|
400
129
|
status:
|
401
130
|
code: 201
|
402
|
-
message:
|
131
|
+
message: ''
|
403
132
|
headers:
|
404
133
|
Cache-Control:
|
405
|
-
-
|
134
|
+
- private
|
406
135
|
Content-Length:
|
407
|
-
- '
|
136
|
+
- '1250'
|
408
137
|
Content-Type:
|
409
138
|
- application/atom+xml;type=entry;charset=utf-8
|
410
139
|
Location:
|
411
|
-
- http://
|
140
|
+
- http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(2)
|
412
141
|
Server:
|
413
|
-
- Microsoft-IIS/
|
142
|
+
- Microsoft-IIS/8.0
|
414
143
|
Set-Cookie:
|
415
|
-
- ASP.NET_SessionId=
|
144
|
+
- ASP.NET_SessionId=vhklyd2tr2qxc0jj2qcjzmfi; path=/; HttpOnly
|
416
145
|
X-Content-Type-Options:
|
417
146
|
- nosniff
|
418
147
|
Dataserviceversion:
|
@@ -422,56 +151,54 @@ http_interactions:
|
|
422
151
|
X-Powered-By:
|
423
152
|
- ASP.NET
|
424
153
|
Date:
|
425
|
-
-
|
154
|
+
- Sun, 26 Apr 2015 16:29:57 GMT
|
426
155
|
body:
|
427
|
-
encoding:
|
428
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
156
|
+
encoding: UTF-8
|
157
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
429
158
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
430
159
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
431
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
160
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(2)</id><category
|
432
161
|
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
433
162
|
/><link rel="edit" title="Category" href="Categories(2)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
434
163
|
type="application/atom+xml;type=feed" title="Products" href="Categories(2)/Products"
|
435
|
-
/><title /><updated>
|
164
|
+
/><title /><updated>2015-04-26T16:29:57Z</updated><author><name /></author><content
|
436
165
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">2</d:Id><d:Name>Cat2</d:Name><d:AuditFields
|
437
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">
|
438
|
-
m:type="Edm.DateTime">
|
439
|
-
http_version:
|
440
|
-
recorded_at:
|
166
|
+
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:57.864282Z</d:CreateDate><d:ModifiedDate
|
167
|
+
m:type="Edm.DateTime">2015-04-26T16:29:57.864282Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
168
|
+
http_version:
|
169
|
+
recorded_at: Sun, 26 Apr 2015 16:29:57 GMT
|
441
170
|
- request:
|
442
171
|
method: post
|
443
|
-
uri: http://
|
172
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories
|
444
173
|
body:
|
445
|
-
encoding:
|
446
|
-
string:
|
174
|
+
encoding: UTF-8
|
175
|
+
string: '{"Name":"Cat3","AuditFields":{"CreatedBy":"Machinist"}}'
|
447
176
|
headers:
|
177
|
+
User-Agent:
|
178
|
+
- Ruby
|
448
179
|
Accept:
|
449
|
-
-
|
450
|
-
Accept-Encoding:
|
451
|
-
- gzip, deflate
|
180
|
+
- "*/*; q=0.5, application/xml"
|
452
181
|
Content-Type:
|
453
182
|
- application/json
|
454
|
-
|
455
|
-
-
|
456
|
-
User-Agent:
|
457
|
-
- Ruby
|
183
|
+
Accept-Encoding:
|
184
|
+
- gzip,deflate
|
458
185
|
response:
|
459
186
|
status:
|
460
187
|
code: 201
|
461
|
-
message:
|
188
|
+
message: ''
|
462
189
|
headers:
|
463
190
|
Cache-Control:
|
464
|
-
-
|
191
|
+
- private
|
465
192
|
Content-Length:
|
466
|
-
- '
|
193
|
+
- '1250'
|
467
194
|
Content-Type:
|
468
195
|
- application/atom+xml;type=entry;charset=utf-8
|
469
196
|
Location:
|
470
|
-
- http://
|
197
|
+
- http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(3)
|
471
198
|
Server:
|
472
|
-
- Microsoft-IIS/
|
199
|
+
- Microsoft-IIS/8.0
|
473
200
|
Set-Cookie:
|
474
|
-
- ASP.NET_SessionId=
|
201
|
+
- ASP.NET_SessionId=rmsf1bvnqgyuy5qzf0gcrcez; path=/; HttpOnly
|
475
202
|
X-Content-Type-Options:
|
476
203
|
- nosniff
|
477
204
|
Dataserviceversion:
|
@@ -481,50 +208,50 @@ http_interactions:
|
|
481
208
|
X-Powered-By:
|
482
209
|
- ASP.NET
|
483
210
|
Date:
|
484
|
-
-
|
211
|
+
- Sun, 26 Apr 2015 16:29:57 GMT
|
485
212
|
body:
|
486
|
-
encoding:
|
487
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
213
|
+
encoding: UTF-8
|
214
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
488
215
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
489
216
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
490
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
217
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(3)</id><category
|
491
218
|
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
492
219
|
/><link rel="edit" title="Category" href="Categories(3)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
493
220
|
type="application/atom+xml;type=feed" title="Products" href="Categories(3)/Products"
|
494
|
-
/><title /><updated>
|
221
|
+
/><title /><updated>2015-04-26T16:29:58Z</updated><author><name /></author><content
|
495
222
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">3</d:Id><d:Name>Cat3</d:Name><d:AuditFields
|
496
|
-
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">
|
497
|
-
m:type="Edm.DateTime">
|
498
|
-
http_version:
|
499
|
-
recorded_at:
|
223
|
+
m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:58.161157Z</d:CreateDate><d:ModifiedDate
|
224
|
+
m:type="Edm.DateTime">2015-04-26T16:29:58.161157Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
225
|
+
http_version:
|
226
|
+
recorded_at: Sun, 26 Apr 2015 16:29:58 GMT
|
500
227
|
- request:
|
501
228
|
method: get
|
502
|
-
uri: http://
|
229
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/CategoryNames
|
503
230
|
body:
|
504
231
|
encoding: US-ASCII
|
505
232
|
string: ''
|
506
233
|
headers:
|
507
|
-
Accept:
|
508
|
-
- ! '*/*; q=0.5, application/xml'
|
509
|
-
Accept-Encoding:
|
510
|
-
- gzip, deflate
|
511
234
|
User-Agent:
|
512
235
|
- Ruby
|
236
|
+
Accept:
|
237
|
+
- "*/*; q=0.5, application/xml"
|
238
|
+
Accept-Encoding:
|
239
|
+
- gzip,deflate
|
513
240
|
response:
|
514
241
|
status:
|
515
242
|
code: 200
|
516
|
-
message:
|
243
|
+
message: ''
|
517
244
|
headers:
|
518
245
|
Cache-Control:
|
519
|
-
-
|
246
|
+
- private
|
520
247
|
Content-Length:
|
521
248
|
- '200'
|
522
249
|
Content-Type:
|
523
250
|
- application/xml;charset=utf-8
|
524
251
|
Server:
|
525
|
-
- Microsoft-IIS/
|
252
|
+
- Microsoft-IIS/8.0
|
526
253
|
Set-Cookie:
|
527
|
-
- ASP.NET_SessionId=
|
254
|
+
- ASP.NET_SessionId=mmdxyplz2hkdzb1jgliolhr2; path=/; HttpOnly
|
528
255
|
X-Content-Type-Options:
|
529
256
|
- nosniff
|
530
257
|
Dataserviceversion:
|
@@ -534,46 +261,44 @@ http_interactions:
|
|
534
261
|
X-Powered-By:
|
535
262
|
- ASP.NET
|
536
263
|
Date:
|
537
|
-
-
|
264
|
+
- Sun, 26 Apr 2015 16:29:57 GMT
|
538
265
|
body:
|
539
|
-
encoding:
|
266
|
+
encoding: UTF-8
|
540
267
|
string: <?xml version="1.0" encoding="utf-8"?><CategoryNames xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices"><element>Cat1</element><element>Cat2</element><element>Cat3</element></CategoryNames>
|
541
|
-
http_version:
|
542
|
-
recorded_at:
|
268
|
+
http_version:
|
269
|
+
recorded_at: Sun, 26 Apr 2015 16:29:58 GMT
|
543
270
|
- request:
|
544
271
|
method: post
|
545
|
-
uri: http://
|
272
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories
|
546
273
|
body:
|
547
|
-
encoding:
|
548
|
-
string:
|
274
|
+
encoding: UTF-8
|
275
|
+
string: '{"Name":"Category 0075","AuditFields":{"CreatedBy":"Machinist"}}'
|
549
276
|
headers:
|
277
|
+
User-Agent:
|
278
|
+
- Ruby
|
550
279
|
Accept:
|
551
|
-
-
|
552
|
-
Accept-Encoding:
|
553
|
-
- gzip, deflate
|
280
|
+
- "*/*; q=0.5, application/xml"
|
554
281
|
Content-Type:
|
555
282
|
- application/json
|
556
|
-
|
557
|
-
-
|
558
|
-
User-Agent:
|
559
|
-
- Ruby
|
283
|
+
Accept-Encoding:
|
284
|
+
- gzip,deflate
|
560
285
|
response:
|
561
286
|
status:
|
562
287
|
code: 201
|
563
|
-
message:
|
288
|
+
message: ''
|
564
289
|
headers:
|
565
290
|
Cache-Control:
|
566
|
-
-
|
291
|
+
- private
|
567
292
|
Content-Length:
|
568
|
-
- '
|
293
|
+
- '1259'
|
569
294
|
Content-Type:
|
570
295
|
- application/atom+xml;type=entry;charset=utf-8
|
571
296
|
Location:
|
572
|
-
- http://
|
297
|
+
- http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(1)
|
573
298
|
Server:
|
574
|
-
- Microsoft-IIS/
|
299
|
+
- Microsoft-IIS/8.0
|
575
300
|
Set-Cookie:
|
576
|
-
- ASP.NET_SessionId=
|
301
|
+
- ASP.NET_SessionId=1hkf1q4sb04lhmtgxwjg3405; path=/; HttpOnly
|
577
302
|
X-Content-Type-Options:
|
578
303
|
- nosniff
|
579
304
|
Dataserviceversion:
|
@@ -583,51 +308,51 @@ http_interactions:
|
|
583
308
|
X-Powered-By:
|
584
309
|
- ASP.NET
|
585
310
|
Date:
|
586
|
-
-
|
311
|
+
- Sun, 26 Apr 2015 16:29:58 GMT
|
587
312
|
body:
|
588
|
-
encoding:
|
589
|
-
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://
|
313
|
+
encoding: UTF-8
|
314
|
+
string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
|
590
315
|
xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
591
316
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
|
592
|
-
xmlns:gml="http://www.opengis.net/gml"><id>http://
|
317
|
+
xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Categories(1)</id><category
|
593
318
|
term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
|
594
319
|
/><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
|
595
320
|
type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
|
596
|
-
/><title /><updated>
|
321
|
+
/><title /><updated>2015-04-26T16:29:58Z</updated><author><name /></author><content
|
597
322
|
type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Category
|
598
|
-
|
599
|
-
m:type="Edm.DateTime">
|
600
|
-
m:type="Edm.DateTime">
|
601
|
-
http_version:
|
602
|
-
recorded_at:
|
323
|
+
0075</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
|
324
|
+
m:type="Edm.DateTime">2015-04-26T16:29:58.661157Z</d:CreateDate><d:ModifiedDate
|
325
|
+
m:type="Edm.DateTime">2015-04-26T16:29:58.661157Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
|
326
|
+
http_version:
|
327
|
+
recorded_at: Sun, 26 Apr 2015 16:29:58 GMT
|
603
328
|
- request:
|
604
329
|
method: get
|
605
|
-
uri: http://
|
330
|
+
uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/FirstCategoryId
|
606
331
|
body:
|
607
332
|
encoding: US-ASCII
|
608
333
|
string: ''
|
609
334
|
headers:
|
610
|
-
Accept:
|
611
|
-
- ! '*/*; q=0.5, application/xml'
|
612
|
-
Accept-Encoding:
|
613
|
-
- gzip, deflate
|
614
335
|
User-Agent:
|
615
336
|
- Ruby
|
337
|
+
Accept:
|
338
|
+
- "*/*; q=0.5, application/xml"
|
339
|
+
Accept-Encoding:
|
340
|
+
- gzip,deflate
|
616
341
|
response:
|
617
342
|
status:
|
618
343
|
code: 200
|
619
|
-
message:
|
344
|
+
message: ''
|
620
345
|
headers:
|
621
346
|
Cache-Control:
|
622
|
-
-
|
347
|
+
- private
|
623
348
|
Content-Length:
|
624
349
|
- '234'
|
625
350
|
Content-Type:
|
626
351
|
- application/xml;charset=utf-8
|
627
352
|
Server:
|
628
|
-
- Microsoft-IIS/
|
353
|
+
- Microsoft-IIS/8.0
|
629
354
|
Set-Cookie:
|
630
|
-
- ASP.NET_SessionId=
|
355
|
+
- ASP.NET_SessionId=vwjgwgrhqv00fjdniitgavlb; path=/; HttpOnly
|
631
356
|
X-Content-Type-Options:
|
632
357
|
- nosniff
|
633
358
|
Dataserviceversion:
|
@@ -637,11 +362,11 @@ http_interactions:
|
|
637
362
|
X-Powered-By:
|
638
363
|
- ASP.NET
|
639
364
|
Date:
|
640
|
-
-
|
365
|
+
- Sun, 26 Apr 2015 16:29:58 GMT
|
641
366
|
body:
|
642
|
-
encoding:
|
367
|
+
encoding: UTF-8
|
643
368
|
string: <?xml version="1.0" encoding="utf-8"?><d:FirstCategoryId xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
|
644
369
|
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:type="Edm.Int32">1</d:FirstCategoryId>
|
645
|
-
http_version:
|
646
|
-
recorded_at:
|
647
|
-
recorded_with: VCR 2.
|
370
|
+
http_version:
|
371
|
+
recorded_at: Sun, 26 Apr 2015 16:29:58 GMT
|
372
|
+
recorded_with: VCR 2.5.0
|