ruby_odata 0.1.6 → 0.2.0.beta1

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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -0
  3. data/CHANGELOG.md +5 -0
  4. data/Gemfile +2 -0
  5. data/Guardfile +1 -1
  6. data/features/basic_auth.feature +13 -13
  7. data/features/cassettes/basic_auth_protected_resource.yml +22 -20
  8. data/features/cassettes/batch_request_additions.yml +26 -26
  9. data/features/cassettes/batch_request_deletes.yml +27 -27
  10. data/features/cassettes/batch_request_updates.yml +26 -26
  11. data/features/cassettes/clean_database_for_testing.yml +10 -10
  12. data/features/cassettes/cucumber_tags/basic_auth.yml +54 -163
  13. data/features/cassettes/cucumber_tags/batch_request.yml +229 -1118
  14. data/features/cassettes/cucumber_tags/complex_types.yml +81 -191
  15. data/features/cassettes/cucumber_tags/error_handling.yml +45 -33
  16. data/features/cassettes/cucumber_tags/query_builder.yml +555 -1248
  17. data/features/cassettes/cucumber_tags/service_manage.yml +216 -591
  18. data/features/cassettes/cucumber_tags/service_methods.yml +137 -412
  19. data/features/cassettes/cucumber_tags/ssl.yml +121 -117
  20. data/features/cassettes/cucumber_tags/type_conversion.yml +104 -170
  21. data/features/cassettes/service_manage_additions.yml +26 -28
  22. data/features/cassettes/service_manage_deletions.yml +21 -21
  23. data/features/cassettes/service_manage_deletions_2.yml +21 -21
  24. data/features/cassettes/unsecured_metadata.yml +14 -14
  25. data/features/service.feature +37 -37
  26. data/features/service_methods.feature +38 -38
  27. data/features/step_definitions/pickle_steps.rb +5 -5
  28. data/features/step_definitions/service_steps.rb +26 -26
  29. data/features/support/hooks.rb +3 -2
  30. data/features/support/vcr.rb +13 -13
  31. data/lib/ruby_odata.rb +4 -1
  32. data/lib/ruby_odata/association.rb +15 -8
  33. data/lib/ruby_odata/class_builder.rb +5 -1
  34. data/lib/ruby_odata/query_builder.rb +171 -173
  35. data/lib/ruby_odata/resource.rb +153 -0
  36. data/lib/ruby_odata/service.rb +30 -30
  37. data/lib/ruby_odata/version.rb +1 -1
  38. data/ruby_odata.gemspec +48 -43
  39. data/spec/association_spec.rb +15 -11
  40. data/spec/fixtures/decimal/metadata.xml +1 -0
  41. data/spec/fixtures/v4/edmx_metadata.xml +145 -0
  42. data/spec/fixtures/v4/result_categories.xml +0 -0
  43. data/spec/revised_service_spec.rb +16 -11
  44. data/spec/service_spec.rb +149 -114
  45. data/spec/service_v4_spec.rb +102 -0
  46. data/spec/spec_helper.rb +6 -1
  47. metadata +109 -32
  48. data/features/cassettes/cucumber_tags/service.yml +0 -234
@@ -2,38 +2,38 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://admin:passwd@win7dev:8989/SampleService/BasicAuth/RubyOData.svc/Categories
5
+ uri: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/Categories
6
6
  body:
7
- encoding: ASCII-8BIT
8
- string: ! '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
7
+ encoding: UTF-8
8
+ string: '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
9
9
  headers:
10
+ User-Agent:
11
+ - Ruby
10
12
  Accept:
11
- - ! '*/*; q=0.5, application/xml'
12
- Accept-Encoding:
13
- - gzip, deflate
13
+ - "*/*; q=0.5, application/xml"
14
+ Authorization:
15
+ - Basic YWRtaW46cGFzc3dk
14
16
  Content-Type:
15
17
  - application/json
16
- Content-Length:
17
- - '69'
18
- User-Agent:
19
- - Ruby
18
+ Accept-Encoding:
19
+ - gzip,deflate
20
20
  response:
21
21
  status:
22
22
  code: 201
23
- message: Created
23
+ message: ''
24
24
  headers:
25
25
  Cache-Control:
26
- - no-cache
26
+ - private
27
27
  Content-Length:
28
- - '1278'
28
+ - '1284'
29
29
  Content-Type:
30
30
  - application/atom+xml;type=entry;charset=utf-8
31
31
  Location:
32
- - http://win7dev:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)
32
+ - http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)
33
33
  Server:
34
- - Microsoft-IIS/7.5
34
+ - Microsoft-IIS/8.0
35
35
  Set-Cookie:
36
- - ASP.NET_SessionId=b5h3vo0kbga5mdcgu2nfisos; path=/; HttpOnly
36
+ - ASP.NET_SessionId=rrstbrdxgwqxymufp0szmoxd; path=/; HttpOnly
37
37
  X-Content-Type-Options:
38
38
  - nosniff
39
39
  Dataserviceversion:
@@ -43,152 +43,53 @@ http_interactions:
43
43
  X-Powered-By:
44
44
  - ASP.NET
45
45
  Date:
46
- - Tue, 07 Aug 2012 21:21:24 GMT
46
+ - Sun, 26 Apr 2015 16:29:23 GMT
47
47
  body:
48
- encoding: US-ASCII
49
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/BasicAuth/RubyOData.svc/"
48
+ encoding: UTF-8
49
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/"
50
50
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
51
51
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
52
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
52
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
53
53
  term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
54
54
  /><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
55
55
  type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
56
- /><title /><updated>2012-08-07T21:21:25Z</updated><author><name /></author><content
56
+ /><title /><updated>2015-04-26T16:29:24Z</updated><author><name /></author><content
57
57
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
58
58
  Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
59
- m:type="Edm.DateTime">2012-08-07T21:21:25.296875Z</d:CreateDate><d:ModifiedDate
60
- m:type="Edm.DateTime">2012-08-07T21:21:25.296875Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
61
- http_version: !!null
62
- recorded_at: Tue, 07 Aug 2012 21:21:25 GMT
59
+ m:type="Edm.DateTime">2015-04-26T16:29:24.161157Z</d:CreateDate><d:ModifiedDate
60
+ m:type="Edm.DateTime">2015-04-26T16:29:24.161157Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
61
+ http_version:
62
+ recorded_at: Sun, 26 Apr 2015 16:29:24 GMT
63
63
  - request:
64
64
  method: get
65
- uri: http://admin:passwd@win7dev:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)
65
+ uri: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
66
66
  body:
67
67
  encoding: US-ASCII
68
68
  string: ''
69
69
  headers:
70
- Accept:
71
- - ! '*/*; q=0.5, application/xml'
72
- Accept-Encoding:
73
- - gzip, deflate
74
70
  User-Agent:
75
71
  - Ruby
76
- response:
77
- status:
78
- code: 200
79
- message: OK
80
- headers:
81
- Cache-Control:
82
- - no-cache
83
- Content-Length:
84
- - '1270'
85
- Content-Type:
86
- - application/atom+xml;type=entry;charset=utf-8
87
- Server:
88
- - Microsoft-IIS/7.5
89
- Set-Cookie:
90
- - ASP.NET_SessionId=vqh02cwip2bvnmgt4smeb5ok; path=/; HttpOnly
91
- X-Content-Type-Options:
92
- - nosniff
93
- Dataserviceversion:
94
- - 1.0;
95
- X-Aspnet-Version:
96
- - 4.0.30319
97
- X-Powered-By:
98
- - ASP.NET
99
- Date:
100
- - Tue, 07 Aug 2012 21:21:24 GMT
101
- body:
102
- encoding: US-ASCII
103
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/BasicAuth/RubyOData.svc/"
104
- xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
105
- xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
106
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/BasicAuth/RubyOData.svc/Categories(1)</id><category
107
- term="RubyODataService.Category" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
108
- /><link rel="edit" title="Category" href="Categories(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products"
109
- type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products"
110
- /><title /><updated>2012-08-07T21:21:25Z</updated><author><name /></author><content
111
- type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Auth
112
- Test Category</d:Name><d:AuditFields m:type="RubyODataService.AuditFields"><d:CreateDate
113
- m:type="Edm.DateTime">2012-08-07T21:21:25.297</d:CreateDate><d:ModifiedDate
114
- m:type="Edm.DateTime">2012-08-07T21:21:25.297</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
115
- http_version: !!null
116
- recorded_at: Tue, 07 Aug 2012 21:21:25 GMT
117
- - request:
118
- method: get
119
- uri: http://admin:bad_pwd@win7dev:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
120
- body:
121
- encoding: US-ASCII
122
- string: ''
123
- headers:
124
72
  Accept:
125
- - ! '*/*; q=0.5, application/xml'
73
+ - "*/*; q=0.5, application/xml"
74
+ Authorization:
75
+ - Basic YWRtaW46cGFzc3dk
126
76
  Accept-Encoding:
127
- - gzip, deflate
128
- User-Agent:
129
- - Ruby
130
- response:
131
- status:
132
- code: 401
133
- message: Unauthorized
134
- headers:
135
- Content-Type:
136
- - text/html
137
- Server:
138
- - Microsoft-IIS/7.5
139
- Www-Authenticate:
140
- - Basic
141
- X-Powered-By:
142
- - ASP.NET
143
- Date:
144
- - Tue, 07 Aug 2012 21:21:24 GMT
145
- Content-Length:
146
- - '1218'
147
- body:
148
- encoding: US-ASCII
149
- string: ! "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html
150
- xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<title>401 - Unauthorized:
151
- Access is denied due to invalid credentials.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana,
152
- Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px
153
- 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;}
154
- \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0
155
- 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0
156
- 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div
157
- id=\"header\"><h1>Server Error</h1></div>\r\n<div id=\"content\">\r\n <div
158
- class=\"content-container\"><fieldset>\r\n <h2>401 - Unauthorized: Access
159
- is denied due to invalid credentials.</h2>\r\n <h3>You do not have permission
160
- to view this directory or page using the credentials that you supplied.</h3>\r\n
161
- </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n"
162
- http_version: !!null
163
- recorded_at: Tue, 07 Aug 2012 21:21:25 GMT
164
- - request:
165
- method: get
166
- uri: http://admin:passwd@win7dev:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
167
- body:
168
- encoding: US-ASCII
169
- string: ''
170
- headers:
171
- Accept:
172
- - ! '*/*; q=0.5, application/xml'
173
- Accept-Encoding:
174
- - gzip, deflate
175
- User-Agent:
176
- - Ruby
77
+ - gzip,deflate
177
78
  response:
178
79
  status:
179
80
  code: 200
180
- message: OK
81
+ message: ''
181
82
  headers:
182
83
  Cache-Control:
183
- - no-cache
84
+ - private
184
85
  Content-Length:
185
86
  - '4055'
186
87
  Content-Type:
187
88
  - application/xml;charset=utf-8
188
89
  Server:
189
- - Microsoft-IIS/7.5
90
+ - Microsoft-IIS/8.0
190
91
  Set-Cookie:
191
- - ASP.NET_SessionId=qdj1en0bcagvrdhule4xjvxg; path=/; HttpOnly
92
+ - ASP.NET_SessionId=qnhpawpxo5tu0hf3pgabfa4k; path=/; HttpOnly
192
93
  X-Content-Type-Options:
193
94
  - nosniff
194
95
  Dataserviceversion:
@@ -198,9 +99,9 @@ http_interactions:
198
99
  X-Powered-By:
199
100
  - ASP.NET
200
101
  Date:
201
- - Tue, 07 Aug 2012 21:21:24 GMT
102
+ - Sun, 26 Apr 2015 16:29:24 GMT
202
103
  body:
203
- encoding: US-ASCII
104
+ encoding: UTF-8
204
105
  string: <?xml version="1.0" encoding="utf-8"?><edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"><edmx:DataServices
205
106
  m:DataServiceVersion="1.0" m:MaxDataServiceVersion="3.0" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><Schema
206
107
  Namespace="RubyODataService" xmlns="http://schemas.microsoft.com/ado/2008/09/edm"><EntityType
@@ -245,53 +146,43 @@ http_interactions:
245
146
  ReturnType="Edm.Int32" m:HttpMethod="GET" /><FunctionImport Name="EntitySingleCategoryWebGet"
246
147
  ReturnType="RubyODataService.Category" EntitySet="Categories" m:HttpMethod="GET"><Parameter
247
148
  Name="id" Type="Edm.Int32" /></FunctionImport></EntityContainer></Schema></edmx:DataServices></edmx:Edmx>
248
- http_version: !!null
249
- recorded_at: Tue, 07 Aug 2012 21:21:25 GMT
149
+ http_version:
150
+ recorded_at: Sun, 26 Apr 2015 16:29:24 GMT
250
151
  - request:
251
152
  method: get
252
- uri: http://win7dev:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
153
+ uri: http://10.10.0.17:8989/SampleService/BasicAuth/RubyOData.svc/$metadata
253
154
  body:
254
155
  encoding: US-ASCII
255
156
  string: ''
256
157
  headers:
257
- Accept:
258
- - ! '*/*; q=0.5, application/xml'
259
- Accept-Encoding:
260
- - gzip, deflate
261
158
  User-Agent:
262
159
  - Ruby
160
+ Accept:
161
+ - "*/*; q=0.5, application/xml"
162
+ Accept-Encoding:
163
+ - gzip,deflate
263
164
  response:
264
165
  status:
265
166
  code: 401
266
- message: Unauthorized
167
+ message: ''
267
168
  headers:
268
169
  Content-Type:
269
170
  - text/html
270
171
  Server:
271
- - Microsoft-IIS/7.5
172
+ - Microsoft-IIS/8.0
272
173
  Www-Authenticate:
273
174
  - Basic
274
175
  X-Powered-By:
275
176
  - ASP.NET
276
177
  Date:
277
- - Tue, 07 Aug 2012 21:21:24 GMT
178
+ - Sun, 26 Apr 2015 16:29:24 GMT
278
179
  Content-Length:
279
- - '1218'
180
+ - '88'
280
181
  body:
281
- encoding: US-ASCII
282
- string: ! "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html
283
- xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<title>401 - Unauthorized:
284
- Access is denied due to invalid credentials.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana,
285
- Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px
286
- 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;}
287
- \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0
288
- 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0
289
- 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div
290
- id=\"header\"><h1>Server Error</h1></div>\r\n<div id=\"content\">\r\n <div
291
- class=\"content-container\"><fieldset>\r\n <h2>401 - Unauthorized: Access
292
- is denied due to invalid credentials.</h2>\r\n <h3>You do not have permission
293
- to view this directory or page using the credentials that you supplied.</h3>\r\n
294
- </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n"
295
- http_version: !!null
296
- recorded_at: Tue, 07 Aug 2012 21:21:25 GMT
297
- recorded_with: VCR 2.2.4
182
+ encoding: ASCII-8BIT
183
+ string: !binary |-
184
+ VHdvamUgdXByYXduaWVuaWEgbmllIHBvendhbGFqxIUgbmEgd3nFm3dpZXRs
185
+ YW5pZSB6YXdhcnRvxZtjaSB0ZWdvIGthdGFsb2d1IGFsYm8gc3Ryb255Lg==
186
+ http_version:
187
+ recorded_at: Sun, 26 Apr 2015 16:29:24 GMT
188
+ recorded_with: VCR 2.5.0
@@ -1,872 +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_wrza-bjm5-truu
9
-
10
- Content-Type: multipart/mixed;boundary=changeset_oe8a-51ec-8853
11
-
12
-
13
- --changeset_oe8a-51ec-8853
14
-
15
- Content-Type: application/http
16
-
17
- Content-Transfer-Encoding: binary
18
-
19
-
20
- DELETE http://win7dev:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
21
-
22
- Accept-Charset: utf-8
23
-
24
-
25
-
26
- --changeset_oe8a-51ec-8853
27
-
28
- Content-Type: application/http
29
-
30
- Content-Transfer-Encoding: binary
31
-
32
-
33
- DELETE http://win7dev:8989/SampleService/RubyOData.svc/Products(3) HTTP/1.1
34
-
35
- Accept-Charset: utf-8
36
-
37
-
38
-
39
-
40
-
41
- --changeset_oe8a-51ec-8853--
42
-
43
- --batch_wrza-bjm5-truu--'
44
- headers:
45
- Accept:
46
- - ! '*/*; q=0.5, application/xml'
47
- Accept-Encoding:
48
- - gzip, deflate
49
- Content-Type:
50
- - multipart/mixed; boundary=batch_wrza-bjm5-truu
51
- Content-Length:
52
- - '529'
53
- User-Agent:
54
- - Ruby
55
- response:
56
- status:
57
- code: 202
58
- message: Accepted
59
- headers:
60
- Cache-Control:
61
- - no-cache
62
- Content-Length:
63
- - '748'
64
- Content-Type:
65
- - multipart/mixed; boundary=batchresponse_e0aea672-4b22-4da9-a589-1d64bf392d6a
66
- Server:
67
- - Microsoft-IIS/7.5
68
- Set-Cookie:
69
- - ASP.NET_SessionId=csvfe1gmgawhmrnockgo2iai; path=/; HttpOnly
70
- X-Content-Type-Options:
71
- - nosniff
72
- Dataserviceversion:
73
- - 1.0;
74
- X-Aspnet-Version:
75
- - 4.0.30319
76
- X-Powered-By:
77
- - ASP.NET
78
- Date:
79
- - Tue, 07 Aug 2012 21:41:54 GMT
80
- body:
81
- encoding: US-ASCII
82
- string: ! "--batchresponse_e0aea672-4b22-4da9-a589-1d64bf392d6a\r\nContent-Type:
83
- multipart/mixed; boundary=changesetresponse_5c9a708a-ddc5-480a-a8bd-48c3ab8da54c\r\n\r\n--changesetresponse_5c9a708a-ddc5-480a-a8bd-48c3ab8da54c\r\nContent-Type:
84
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
85
- No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
86
- 1.0;\r\n\r\n\r\n--changesetresponse_5c9a708a-ddc5-480a-a8bd-48c3ab8da54c\r\nContent-Type:
87
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
88
- No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
89
- 1.0;\r\n\r\n\r\n--changesetresponse_5c9a708a-ddc5-480a-a8bd-48c3ab8da54c--\r\n--batchresponse_e0aea672-4b22-4da9-a589-1d64bf392d6a--\r\n"
90
- http_version: !!null
91
- recorded_at: Tue, 07 Aug 2012 21:41:54 GMT
92
- - request:
93
- method: post
94
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
95
- body:
96
- encoding: ASCII-8BIT
97
- string: ! '{"Name":"Product 2","Description":"Test Widget","Price":"50.00","Category":{"Name":"Category
98
- 0010","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
99
- headers:
100
- Accept:
101
- - ! '*/*; q=0.5, application/xml'
102
- Accept-Encoding:
103
- - gzip, deflate
104
- Content-Type:
105
- - application/json
106
- Content-Length:
107
- - '180'
108
- User-Agent:
109
- - Ruby
110
- response:
111
- status:
112
- code: 201
113
- message: Created
114
- headers:
115
- Cache-Control:
116
- - no-cache
117
- Content-Length:
118
- - '1436'
119
- Content-Type:
120
- - application/atom+xml;type=entry;charset=utf-8
121
- Location:
122
- - http://win7dev:8989/SampleService/RubyOData.svc/Products(2)
123
- Server:
124
- - Microsoft-IIS/7.5
125
- Set-Cookie:
126
- - ASP.NET_SessionId=iufirzwsimdkjtcuez2ipifn; path=/; HttpOnly
127
- X-Content-Type-Options:
128
- - nosniff
129
- Dataserviceversion:
130
- - 1.0;
131
- X-Aspnet-Version:
132
- - 4.0.30319
133
- X-Powered-By:
134
- - ASP.NET
135
- Date:
136
- - Tue, 07 Aug 2012 21:41:54 GMT
137
- body:
138
- encoding: US-ASCII
139
- string: <?xml 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" xmlns:georss="http://www.georss.org/georss"
142
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(2)</id><category
143
- term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
144
- /><link rel="edit" title="Product" href="Products(2)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
145
- type="application/atom+xml;type=entry" title="Category" href="Products(2)/Category"
146
- /><title /><updated>2012-08-07T21:41:54Z</updated><author><name /></author><content
147
- type="application/xml"><m:properties><d:Id m:type="Edm.Int32">2</d:Id><d:Name>Product
148
- 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">50.00</d:Price><d:DiscontinuedDate
149
- m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">2</d:CategoryId><d:AuditFields
150
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:41:54.953125Z</d:CreateDate><d:ModifiedDate
151
- m:type="Edm.DateTime">2012-08-07T21:41:54.953125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
152
- http_version: !!null
153
- recorded_at: Tue, 07 Aug 2012 21:41:54 GMT
154
- - request:
155
- method: post
156
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
157
- body:
158
- encoding: ASCII-8BIT
159
- string: ! '--batch_3okz-2mtj-qkjy
160
-
161
- Content-Type: multipart/mixed;boundary=changeset_ffs2-0y82-ap0e
162
-
163
-
164
- --changeset_ffs2-0y82-ap0e
165
-
166
- Content-Type: application/http
167
-
168
- Content-Transfer-Encoding: binary
169
-
170
-
171
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
172
-
173
- Accept-Charset: utf-8
174
-
175
- Content-Type: application/json;charset=utf-8
176
-
177
-
178
- {"Name":"Product 3","Description":"Test Widget","Price":"25.00","Category":{"Name":"Category
179
- 0011","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
180
-
181
- --changeset_ffs2-0y82-ap0e
182
-
183
- Content-Type: application/http
184
-
185
- Content-Transfer-Encoding: binary
186
-
187
-
188
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
189
-
190
- Accept-Charset: utf-8
191
-
192
- Content-Type: application/json;charset=utf-8
193
-
194
-
195
- {"Name":"Product 4","Description":"Test Widget","Price":"50.00","Category":{"Name":"Category
196
- 0012","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
197
-
198
- --changeset_ffs2-0y82-ap0e
199
-
200
- Content-Type: application/http
201
-
202
- Content-Transfer-Encoding: binary
203
-
204
-
205
- PUT http://win7dev:8989/SampleService/RubyOData.svc/Products(1) HTTP/1.1
206
-
207
- Accept-Charset: utf-8
208
-
209
- Content-Type: application/json;charset=utf-8
210
-
211
-
212
- {"Name":"Product 1 - Updated","Description":"Test Widget","Price":"75.5","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2012-08-07T21:41:54.657","ModifiedDate":"2012-08-07T21:41:54.657"},"__metadata":{"uri":"http://win7dev:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}
213
-
214
- --changeset_ffs2-0y82-ap0e
215
-
216
- Content-Type: application/http
217
-
218
- Content-Transfer-Encoding: binary
219
-
220
-
221
- DELETE http://win7dev:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
222
-
223
- Accept-Charset: utf-8
224
-
225
-
226
-
227
-
228
-
229
- --changeset_ffs2-0y82-ap0e--
230
-
231
- --batch_3okz-2mtj-qkjy--'
232
- headers:
233
- Accept:
234
- - ! '*/*; q=0.5, application/xml'
235
- Accept-Encoding:
236
- - gzip, deflate
237
- Content-Type:
238
- - multipart/mixed; boundary=batch_3okz-2mtj-qkjy
239
- Content-Length:
240
- - '1719'
241
- User-Agent:
242
- - Ruby
243
- response:
244
- status:
245
- code: 202
246
- message: Accepted
247
- headers:
248
- Cache-Control:
249
- - no-cache
250
- Content-Length:
251
- - '4350'
252
- Content-Type:
253
- - multipart/mixed; boundary=batchresponse_50333c91-0a4f-42c5-9890-fb1a7d529723
254
- Server:
255
- - Microsoft-IIS/7.5
256
- Set-Cookie:
257
- - ASP.NET_SessionId=uixf0em1pxmgxzyw0j3qmb4e; path=/; HttpOnly
258
- X-Content-Type-Options:
259
- - nosniff
260
- Dataserviceversion:
261
- - 1.0;
262
- X-Aspnet-Version:
263
- - 4.0.30319
264
- X-Powered-By:
265
- - ASP.NET
266
- Date:
267
- - Tue, 07 Aug 2012 21:41:54 GMT
268
- body:
269
- encoding: US-ASCII
270
- string: ! "--batchresponse_50333c91-0a4f-42c5-9890-fb1a7d529723\r\nContent-Type:
271
- multipart/mixed; boundary=changesetresponse_37ac540f-9af8-457d-94fd-04be49f141b5\r\n\r\n--changesetresponse_37ac540f-9af8-457d-94fd-04be49f141b5\r\nContent-Type:
272
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
273
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
274
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(3)\r\n\r\n<?xml
275
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
276
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
277
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
278
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(3)</id><category
279
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
280
- /><link rel=\"edit\" title=\"Product\" href=\"Products(3)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
281
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(3)/Category\"
282
- /><title /><updated>2012-08-07T21:41:55Z</updated><author><name /></author><content
283
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">3</d:Id><d:Name>Product
284
- 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">25.00</d:Price><d:DiscontinuedDate
285
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">3</d:CategoryId><d:AuditFields
286
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:41:55.0625Z</d:CreateDate><d:ModifiedDate
287
- m:type=\"Edm.DateTime\">2012-08-07T21:41:55.0625Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_37ac540f-9af8-457d-94fd-04be49f141b5\r\nContent-Type:
288
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
289
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
290
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(4)\r\n\r\n<?xml
291
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
292
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
293
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
294
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(4)</id><category
295
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
296
- /><link rel=\"edit\" title=\"Product\" href=\"Products(4)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
297
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(4)/Category\"
298
- /><title /><updated>2012-08-07T21:41:55Z</updated><author><name /></author><content
299
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">4</d:Id><d:Name>Product
300
- 4</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">50.00</d:Price><d:DiscontinuedDate
301
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">4</d:CategoryId><d:AuditFields
302
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:41:55.0625Z</d:CreateDate><d:ModifiedDate
303
- m:type=\"Edm.DateTime\">2012-08-07T21:41:55.0625Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_37ac540f-9af8-457d-94fd-04be49f141b5\r\nContent-Type:
304
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
305
- No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
306
- 1.0;\r\n\r\n\r\n--changesetresponse_37ac540f-9af8-457d-94fd-04be49f141b5\r\nContent-Type:
307
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
308
- No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
309
- 1.0;\r\n\r\n\r\n--changesetresponse_37ac540f-9af8-457d-94fd-04be49f141b5--\r\n--batchresponse_50333c91-0a4f-42c5-9890-fb1a7d529723--\r\n"
310
- http_version: !!null
311
- recorded_at: Tue, 07 Aug 2012 21:41:54 GMT
312
- - request:
313
- method: post
314
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
315
- body:
316
- encoding: ASCII-8BIT
317
- string: ! '--batch_48oh-g969-yxqy
318
-
319
- Content-Type: multipart/mixed;boundary=changeset_kjgs-xssh-rjpp
320
-
321
-
322
- --changeset_kjgs-xssh-rjpp
323
-
324
- Content-Type: application/http
325
-
326
- Content-Transfer-Encoding: binary
327
-
328
-
329
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
330
-
331
- Accept-Charset: utf-8
332
-
333
- Content-Type: application/json;charset=utf-8
334
-
335
-
336
- {"Name":"Product 1","Description":"Test Widget","Price":"50.00","Category":{"Name":"Category
337
- 0001","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
338
-
339
- --changeset_kjgs-xssh-rjpp
340
-
341
- Content-Type: application/http
342
-
343
- Content-Transfer-Encoding: binary
344
-
345
-
346
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
347
-
348
- Accept-Charset: utf-8
349
-
350
- Content-Type: application/json;charset=utf-8
351
-
352
-
353
- {"Name":"Product 2","Description":"Test Widget","Price":"25.00","Category":{"Name":"Category
354
- 0002","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
355
-
356
-
357
-
358
- --changeset_kjgs-xssh-rjpp--
359
-
360
- --batch_48oh-g969-yxqy--'
361
- headers:
362
- Accept:
363
- - ! '*/*; q=0.5, application/xml'
364
- Accept-Encoding:
365
- - gzip, deflate
366
- Content-Type:
367
- - multipart/mixed; boundary=batch_48oh-g969-yxqy
368
- Content-Length:
369
- - '969'
370
- User-Agent:
371
- - Ruby
372
- response:
373
- status:
374
- code: 202
375
- message: Accepted
376
- headers:
377
- Cache-Control:
378
- - no-cache
379
- Content-Length:
380
- - '3878'
381
- Content-Type:
382
- - multipart/mixed; boundary=batchresponse_127734df-0d45-48a2-bb5d-aef7a738c28e
383
- Server:
384
- - Microsoft-IIS/7.5
385
- Set-Cookie:
386
- - ASP.NET_SessionId=sxgxpcqlok2m1xbq2wb1mfe2; path=/; HttpOnly
387
- X-Content-Type-Options:
388
- - nosniff
389
- Dataserviceversion:
390
- - 1.0;
391
- X-Aspnet-Version:
392
- - 4.0.30319
393
- X-Powered-By:
394
- - ASP.NET
395
- Date:
396
- - Tue, 07 Aug 2012 21:43:14 GMT
397
- body:
398
- encoding: US-ASCII
399
- string: ! "--batchresponse_127734df-0d45-48a2-bb5d-aef7a738c28e\r\nContent-Type:
400
- multipart/mixed; boundary=changesetresponse_217833d8-def6-4659-bd89-9606566ee605\r\n\r\n--changesetresponse_217833d8-def6-4659-bd89-9606566ee605\r\nContent-Type:
401
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
402
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
403
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(1)\r\n\r\n<?xml
404
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
405
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
406
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
407
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
408
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
409
- /><link rel=\"edit\" title=\"Product\" href=\"Products(1)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
410
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(1)/Category\"
411
- /><title /><updated>2012-08-07T21:43:15Z</updated><author><name /></author><content
412
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">1</d:Id><d:Name>Product
413
- 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">50.00</d:Price><d:DiscontinuedDate
414
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">1</d:CategoryId><d:AuditFields
415
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:14.984375Z</d:CreateDate><d:ModifiedDate
416
- m:type=\"Edm.DateTime\">2012-08-07T21:43:14.984375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_217833d8-def6-4659-bd89-9606566ee605\r\nContent-Type:
417
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
418
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
419
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(2)\r\n\r\n<?xml
420
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
421
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
422
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
423
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(2)</id><category
424
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
425
- /><link rel=\"edit\" title=\"Product\" href=\"Products(2)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
426
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(2)/Category\"
427
- /><title /><updated>2012-08-07T21:43:15Z</updated><author><name /></author><content
428
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">2</d:Id><d:Name>Product
429
- 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">25.00</d:Price><d:DiscontinuedDate
430
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">2</d:CategoryId><d:AuditFields
431
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:14.984375Z</d:CreateDate><d:ModifiedDate
432
- m:type=\"Edm.DateTime\">2012-08-07T21:43:14.984375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_217833d8-def6-4659-bd89-9606566ee605--\r\n--batchresponse_127734df-0d45-48a2-bb5d-aef7a738c28e--\r\n"
433
- http_version: !!null
434
- recorded_at: Tue, 07 Aug 2012 21:43:14 GMT
435
- - request:
436
- method: post
437
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
438
- body:
439
- encoding: ASCII-8BIT
440
- string: ! '--batch_8vhp-dtx1-hjrw
441
-
442
- Content-Type: multipart/mixed;boundary=changeset_yvjs-14q8-nb5k
443
-
444
-
445
- --changeset_yvjs-14q8-nb5k
446
-
447
- Content-Type: application/http
448
-
449
- Content-Transfer-Encoding: binary
450
-
451
-
452
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
453
-
454
- Accept-Charset: utf-8
455
-
456
- Content-Type: application/json;charset=utf-8
457
-
458
-
459
- {"Name":"Product 1","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category
460
- 0003","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
461
-
462
- --changeset_yvjs-14q8-nb5k
463
-
464
- Content-Type: application/http
465
-
466
- Content-Transfer-Encoding: binary
467
-
468
-
469
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
470
-
471
- Accept-Charset: utf-8
472
-
473
- Content-Type: application/json;charset=utf-8
474
-
475
-
476
- {"Name":"Product 2","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category
477
- 0004","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
478
-
479
-
480
-
481
- --changeset_yvjs-14q8-nb5k--
482
-
483
- --batch_8vhp-dtx1-hjrw--'
484
- headers:
485
- Accept:
486
- - ! '*/*; q=0.5, application/xml'
487
- Accept-Encoding:
488
- - gzip, deflate
489
- Content-Type:
490
- - multipart/mixed; boundary=batch_8vhp-dtx1-hjrw
491
- Content-Length:
492
- - '971'
493
- User-Agent:
494
- - Ruby
495
- response:
496
- status:
497
- code: 202
498
- message: Accepted
499
- headers:
500
- Cache-Control:
501
- - no-cache
502
- Content-Length:
503
- - '3880'
504
- Content-Type:
505
- - multipart/mixed; boundary=batchresponse_0f25ae1c-f035-4668-a98e-e26ca6d59926
506
- Server:
507
- - Microsoft-IIS/7.5
508
- Set-Cookie:
509
- - ASP.NET_SessionId=5smpy2dfpc11sis2rr2xsqbv; path=/; HttpOnly
510
- X-Content-Type-Options:
511
- - nosniff
512
- Dataserviceversion:
513
- - 1.0;
514
- X-Aspnet-Version:
515
- - 4.0.30319
516
- X-Powered-By:
517
- - ASP.NET
518
- Date:
519
- - Tue, 07 Aug 2012 21:43:14 GMT
520
- body:
521
- encoding: US-ASCII
522
- string: ! "--batchresponse_0f25ae1c-f035-4668-a98e-e26ca6d59926\r\nContent-Type:
523
- multipart/mixed; boundary=changesetresponse_e732252b-9ef0-4354-96a6-bf6f2f41b049\r\n\r\n--changesetresponse_e732252b-9ef0-4354-96a6-bf6f2f41b049\r\nContent-Type:
524
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
525
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
526
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(1)\r\n\r\n<?xml
527
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
528
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
529
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
530
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
531
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
532
- /><link rel=\"edit\" title=\"Product\" href=\"Products(1)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
533
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(1)/Category\"
534
- /><title /><updated>2012-08-07T21:43:15Z</updated><author><name /></author><content
535
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">1</d:Id><d:Name>Product
536
- 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">100.00</d:Price><d:DiscontinuedDate
537
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">1</d:CategoryId><d:AuditFields
538
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:15.453125Z</d:CreateDate><d:ModifiedDate
539
- m:type=\"Edm.DateTime\">2012-08-07T21:43:15.453125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_e732252b-9ef0-4354-96a6-bf6f2f41b049\r\nContent-Type:
540
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
541
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
542
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(2)\r\n\r\n<?xml
543
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
544
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
545
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
546
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(2)</id><category
547
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
548
- /><link rel=\"edit\" title=\"Product\" href=\"Products(2)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
549
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(2)/Category\"
550
- /><title /><updated>2012-08-07T21:43:15Z</updated><author><name /></author><content
551
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">2</d:Id><d:Name>Product
552
- 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">100.00</d:Price><d:DiscontinuedDate
553
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">2</d:CategoryId><d:AuditFields
554
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:15.453125Z</d:CreateDate><d:ModifiedDate
555
- m:type=\"Edm.DateTime\">2012-08-07T21:43:15.453125Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_e732252b-9ef0-4354-96a6-bf6f2f41b049--\r\n--batchresponse_0f25ae1c-f035-4668-a98e-e26ca6d59926--\r\n"
556
- http_version: !!null
557
- recorded_at: Tue, 07 Aug 2012 21:43:15 GMT
558
- - request:
559
- method: post
560
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
561
- body:
562
- encoding: ASCII-8BIT
563
- string: ! '--batch_9uz7-6w6j-u096
564
-
565
- Content-Type: multipart/mixed;boundary=changeset_n78u-fr40-zs2r
566
-
567
-
568
- --changeset_n78u-fr40-zs2r
569
-
570
- Content-Type: application/http
571
-
572
- Content-Transfer-Encoding: binary
573
-
574
-
575
- PUT http://win7dev:8989/SampleService/RubyOData.svc/Products(1) HTTP/1.1
576
-
577
- Accept-Charset: utf-8
578
-
579
- Content-Type: application/json;charset=utf-8
580
-
581
-
582
- {"Name":"Product 1 - Updated","Description":"Test Widget","Price":"100.0","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2012-08-07T21:43:15.453","ModifiedDate":"2012-08-07T21:43:15.453"},"__metadata":{"uri":"http://win7dev:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}
583
-
584
- --changeset_n78u-fr40-zs2r
585
-
586
- Content-Type: application/http
587
-
588
- Content-Transfer-Encoding: binary
589
-
590
-
591
- PUT http://win7dev:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
592
-
593
- Accept-Charset: utf-8
594
-
595
- Content-Type: application/json;charset=utf-8
596
-
597
-
598
- {"Name":"Product 2 - Updated","Description":"Test Widget","Price":"100.0","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2012-08-07T21:43:15.453","ModifiedDate":"2012-08-07T21:43:15.453"},"__metadata":{"uri":"http://win7dev:8989/SampleService/RubyOData.svc/Products(2)"},"Id":2,"DiscontinuedDate":null,"CategoryId":2}
599
-
600
-
601
-
602
- --changeset_n78u-fr40-zs2r--
603
-
604
- --batch_9uz7-6w6j-u096--'
605
- headers:
606
- Accept:
607
- - ! '*/*; q=0.5, application/xml'
608
- Accept-Encoding:
609
- - gzip, deflate
610
- Content-Type:
611
- - multipart/mixed; boundary=batch_9uz7-6w6j-u096
612
- Content-Length:
613
- - '1259'
614
- User-Agent:
615
- - Ruby
616
- response:
617
- status:
618
- code: 202
619
- message: Accepted
620
- headers:
621
- Cache-Control:
622
- - no-cache
623
- Content-Length:
624
- - '748'
625
- Content-Type:
626
- - multipart/mixed; boundary=batchresponse_a882e427-ac6a-433c-b4c9-ec2f4a7e69bb
627
- Server:
628
- - Microsoft-IIS/7.5
629
- Set-Cookie:
630
- - ASP.NET_SessionId=13klfcxbx3mb3dvnsxncgid2; path=/; HttpOnly
631
- X-Content-Type-Options:
632
- - nosniff
633
- Dataserviceversion:
634
- - 1.0;
635
- X-Aspnet-Version:
636
- - 4.0.30319
637
- X-Powered-By:
638
- - ASP.NET
639
- Date:
640
- - Tue, 07 Aug 2012 21:43:15 GMT
641
- body:
642
- encoding: US-ASCII
643
- string: ! "--batchresponse_a882e427-ac6a-433c-b4c9-ec2f4a7e69bb\r\nContent-Type:
644
- multipart/mixed; boundary=changesetresponse_02ab7f4e-8ca2-4071-9f2f-bc39585acaf6\r\n\r\n--changesetresponse_02ab7f4e-8ca2-4071-9f2f-bc39585acaf6\r\nContent-Type:
645
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
646
- No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
647
- 1.0;\r\n\r\n\r\n--changesetresponse_02ab7f4e-8ca2-4071-9f2f-bc39585acaf6\r\nContent-Type:
648
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
649
- No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
650
- 1.0;\r\n\r\n\r\n--changesetresponse_02ab7f4e-8ca2-4071-9f2f-bc39585acaf6--\r\n--batchresponse_a882e427-ac6a-433c-b4c9-ec2f4a7e69bb--\r\n"
651
- http_version: !!null
652
- recorded_at: Tue, 07 Aug 2012 21:43:15 GMT
653
- - request:
654
- method: post
655
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
656
- body:
657
- encoding: ASCII-8BIT
658
- string: ! '--batch_27vi-97pd-gwk9
659
-
660
- Content-Type: multipart/mixed;boundary=changeset_kt35-2kvq-6fh9
661
-
662
-
663
- --changeset_kt35-2kvq-6fh9
664
-
665
- Content-Type: application/http
666
-
667
- Content-Transfer-Encoding: binary
668
-
669
-
670
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
671
-
672
- Accept-Charset: utf-8
673
-
674
- Content-Type: application/json;charset=utf-8
675
-
676
-
677
- {"Name":"Product 1","Description":"Test Widget","Price":"50.00","Category":{"Name":"Category
678
- 0005","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
679
-
680
- --changeset_kt35-2kvq-6fh9
681
-
682
- Content-Type: application/http
683
-
684
- Content-Transfer-Encoding: binary
685
-
686
-
687
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
688
-
689
- Accept-Charset: utf-8
690
-
691
- Content-Type: application/json;charset=utf-8
692
-
693
-
694
- {"Name":"Product 2","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category
695
- 0006","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
696
-
697
- --changeset_kt35-2kvq-6fh9
698
-
699
- Content-Type: application/http
700
-
701
- Content-Transfer-Encoding: binary
702
-
703
-
704
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
705
-
706
- Accept-Charset: utf-8
707
-
708
- Content-Type: application/json;charset=utf-8
709
-
710
-
711
- {"Name":"Product 3","Description":"Test Widget","Price":"75.50","Category":{"Name":"Category
712
- 0007","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
713
-
714
- --changeset_kt35-2kvq-6fh9
715
-
716
- Content-Type: application/http
717
-
718
- Content-Transfer-Encoding: binary
719
-
720
-
721
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
722
-
723
- Accept-Charset: utf-8
724
-
725
- Content-Type: application/json;charset=utf-8
726
-
727
-
728
- {"Name":"Product 4","Description":"Test Widget","Price":"75.50","Category":{"Name":"Category
729
- 0008","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
730
-
731
-
732
-
733
- --changeset_kt35-2kvq-6fh9--
734
-
735
- --batch_27vi-97pd-gwk9--'
736
- headers:
737
- Accept:
738
- - ! '*/*; q=0.5, application/xml'
739
- Accept-Encoding:
740
- - gzip, deflate
741
- Content-Type:
742
- - multipart/mixed; boundary=batch_27vi-97pd-gwk9
743
- Content-Length:
744
- - '1796'
745
- User-Agent:
746
- - Ruby
747
- response:
748
- status:
749
- code: 202
750
- message: Accepted
751
- headers:
752
- Cache-Control:
753
- - no-cache
754
- Content-Length:
755
- - '7489'
756
- Content-Type:
757
- - multipart/mixed; boundary=batchresponse_9d2ef03d-c017-4095-a2c5-afde0d84ac3d
758
- Server:
759
- - Microsoft-IIS/7.5
760
- Set-Cookie:
761
- - ASP.NET_SessionId=mhideuzzwkhbcr2vmrj3thmn; path=/; HttpOnly
762
- X-Content-Type-Options:
763
- - nosniff
764
- Dataserviceversion:
765
- - 1.0;
766
- X-Aspnet-Version:
767
- - 4.0.30319
768
- X-Powered-By:
769
- - ASP.NET
770
- Date:
771
- - Tue, 07 Aug 2012 21:43:15 GMT
772
- body:
773
- encoding: US-ASCII
774
- string: ! "--batchresponse_9d2ef03d-c017-4095-a2c5-afde0d84ac3d\r\nContent-Type:
775
- multipart/mixed; boundary=changesetresponse_dd4b9425-5e1d-424a-8076-7b35380f059d\r\n\r\n--changesetresponse_dd4b9425-5e1d-424a-8076-7b35380f059d\r\nContent-Type:
776
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
777
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
778
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(1)\r\n\r\n<?xml
779
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
780
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
781
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
782
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
783
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
784
- /><link rel=\"edit\" title=\"Product\" href=\"Products(1)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
785
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(1)/Category\"
786
- /><title /><updated>2012-08-07T21:43:16Z</updated><author><name /></author><content
787
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">1</d:Id><d:Name>Product
788
- 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">50.00</d:Price><d:DiscontinuedDate
789
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">1</d:CategoryId><d:AuditFields
790
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:CreateDate><d:ModifiedDate
791
- m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_dd4b9425-5e1d-424a-8076-7b35380f059d\r\nContent-Type:
792
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
793
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
794
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(2)\r\n\r\n<?xml
795
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
796
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
797
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
798
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(2)</id><category
799
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
800
- /><link rel=\"edit\" title=\"Product\" href=\"Products(2)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
801
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(2)/Category\"
802
- /><title /><updated>2012-08-07T21:43:16Z</updated><author><name /></author><content
803
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">2</d:Id><d:Name>Product
804
- 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">100.00</d:Price><d:DiscontinuedDate
805
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">2</d:CategoryId><d:AuditFields
806
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:CreateDate><d:ModifiedDate
807
- m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_dd4b9425-5e1d-424a-8076-7b35380f059d\r\nContent-Type:
808
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
809
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
810
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(3)\r\n\r\n<?xml
811
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
812
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
813
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
814
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(3)</id><category
815
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
816
- /><link rel=\"edit\" title=\"Product\" href=\"Products(3)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
817
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(3)/Category\"
818
- /><title /><updated>2012-08-07T21:43:16Z</updated><author><name /></author><content
819
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">3</d:Id><d:Name>Product
820
- 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">75.50</d:Price><d:DiscontinuedDate
821
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">3</d:CategoryId><d:AuditFields
822
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:CreateDate><d:ModifiedDate
823
- m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_dd4b9425-5e1d-424a-8076-7b35380f059d\r\nContent-Type:
824
- application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
825
- Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
826
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(4)\r\n\r\n<?xml
827
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
828
- xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
829
- xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
830
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(4)</id><category
831
- term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
832
- /><link rel=\"edit\" title=\"Product\" href=\"Products(4)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
833
- type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(4)/Category\"
834
- /><title /><updated>2012-08-07T21:43:16Z</updated><author><name /></author><content
835
- type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">4</d:Id><d:Name>Product
836
- 4</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">75.50</d:Price><d:DiscontinuedDate
837
- m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">4</d:CategoryId><d:AuditFields
838
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:CreateDate><d:ModifiedDate
839
- m:type=\"Edm.DateTime\">2012-08-07T21:43:16.109375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_dd4b9425-5e1d-424a-8076-7b35380f059d--\r\n--batchresponse_9d2ef03d-c017-4095-a2c5-afde0d84ac3d--\r\n"
840
- http_version: !!null
841
- recorded_at: Tue, 07 Aug 2012 21:43:15 GMT
842
3
  - request:
843
4
  method: get
844
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products?$filter=Name%20eq%20'Product%203'
5
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products?$filter=Name%20eq%20'Product%203'
845
6
  body:
846
7
  encoding: US-ASCII
847
8
  string: ''
848
9
  headers:
849
- Accept:
850
- - ! '*/*; q=0.5, application/xml'
851
- Accept-Encoding:
852
- - gzip, deflate
853
10
  User-Agent:
854
11
  - Ruby
12
+ Accept:
13
+ - "*/*; q=0.5, application/xml"
14
+ Accept-Encoding:
15
+ - gzip,deflate
855
16
  response:
856
17
  status:
857
18
  code: 200
858
- message: OK
19
+ message: ''
859
20
  headers:
860
21
  Cache-Control:
861
- - no-cache
22
+ - private
862
23
  Content-Length:
863
- - '1630'
24
+ - '1639'
864
25
  Content-Type:
865
26
  - application/atom+xml;type=feed;charset=utf-8
866
27
  Server:
867
- - Microsoft-IIS/7.5
28
+ - Microsoft-IIS/8.0
868
29
  Set-Cookie:
869
- - ASP.NET_SessionId=ke51zabef0nosga1ylegv1tb; path=/; HttpOnly
30
+ - ASP.NET_SessionId=hywd2cpxukenfkhp25ot5hf2; path=/; HttpOnly
870
31
  X-Content-Type-Options:
871
32
  - nosniff
872
33
  Dataserviceversion:
@@ -876,93 +37,79 @@ http_interactions:
876
37
  X-Powered-By:
877
38
  - ASP.NET
878
39
  Date:
879
- - Tue, 07 Aug 2012 21:43:15 GMT
40
+ - Sun, 26 Apr 2015 16:29:25 GMT
880
41
  body:
881
- encoding: US-ASCII
882
- string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
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/"
883
44
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
884
45
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
885
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products</id><title
886
- type="text">Products</title><updated>2012-08-07T21:43:16Z</updated><link rel="self"
887
- title="Products" href="Products" /><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(3)</id><category
46
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products</id><title
47
+ type="text">Products</title><updated>2015-04-26T16:29:26Z</updated><link rel="self"
48
+ title="Products" href="Products" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(3)</id><category
888
49
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
889
50
  /><link rel="edit" title="Product" href="Products(3)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
890
51
  type="application/atom+xml;type=entry" title="Category" href="Products(3)/Category"
891
- /><title /><updated>2012-08-07T21:43:16Z</updated><author><name /></author><content
52
+ /><title /><updated>2015-04-26T16:29:26Z</updated><author><name /></author><content
892
53
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">3</d:Id><d:Name>Product
893
- 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">75.50</d:Price><d:DiscontinuedDate
54
+ 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">50.00</d:Price><d:DiscontinuedDate
894
55
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">3</d:CategoryId><d:AuditFields
895
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:16.11</d:CreateDate><d:ModifiedDate
896
- m:type="Edm.DateTime">2012-08-07T21:43:16.11</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
897
- http_version: !!null
898
- recorded_at: Tue, 07 Aug 2012 21:43:16 GMT
56
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:26.38</d:CreateDate><d:ModifiedDate
57
+ m:type="Edm.DateTime">2015-04-26T16:29:26.38</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
58
+ http_version:
59
+ recorded_at: Sun, 26 Apr 2015 16:29:26 GMT
899
60
  - request:
900
61
  method: post
901
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
62
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/$batch
902
63
  body:
903
- encoding: ASCII-8BIT
904
- string: ! '--batch_6l7o-hszs-ivo5
905
-
906
- Content-Type: multipart/mixed;boundary=changeset_fpy5-z9jr-l7jn
907
-
908
-
909
- --changeset_fpy5-z9jr-l7jn
64
+ encoding: UTF-8
65
+ string: |-
66
+ --batch_jqnc-s237-juuc
67
+ Content-Type: multipart/mixed;boundary=changeset_7944-ywp0-85m
910
68
 
69
+ --changeset_7944-ywp0-85m
911
70
  Content-Type: application/http
912
-
913
71
  Content-Transfer-Encoding: binary
914
72
 
915
-
916
- DELETE http://win7dev:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
917
-
73
+ DELETE http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
918
74
  Accept-Charset: utf-8
919
75
 
920
76
 
921
-
922
- --changeset_fpy5-z9jr-l7jn
923
-
77
+ --changeset_7944-ywp0-85m
924
78
  Content-Type: application/http
925
-
926
79
  Content-Transfer-Encoding: binary
927
80
 
928
-
929
- DELETE http://win7dev:8989/SampleService/RubyOData.svc/Products(3) HTTP/1.1
930
-
81
+ DELETE http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(3) HTTP/1.1
931
82
  Accept-Charset: utf-8
932
83
 
933
84
 
934
85
 
935
86
 
936
-
937
- --changeset_fpy5-z9jr-l7jn--
938
-
939
- --batch_6l7o-hszs-ivo5--'
87
+ --changeset_7944-ywp0-85m--
88
+ --batch_jqnc-s237-juuc--
940
89
  headers:
941
- Accept:
942
- - ! '*/*; q=0.5, application/xml'
943
- Accept-Encoding:
944
- - gzip, deflate
945
- Content-Type:
946
- - multipart/mixed; boundary=batch_6l7o-hszs-ivo5
947
- Content-Length:
948
- - '529'
949
90
  User-Agent:
950
91
  - Ruby
92
+ Accept:
93
+ - "*/*; q=0.5, application/xml"
94
+ Content-Type:
95
+ - multipart/mixed; boundary=batch_jqnc-s237-juuc
96
+ Accept-Encoding:
97
+ - gzip,deflate
951
98
  response:
952
99
  status:
953
100
  code: 202
954
- message: Accepted
101
+ message: ''
955
102
  headers:
956
103
  Cache-Control:
957
- - no-cache
104
+ - private
958
105
  Content-Length:
959
106
  - '748'
960
107
  Content-Type:
961
- - multipart/mixed; boundary=batchresponse_383c9ccc-df0d-4698-8226-9d5a4cec3fac
108
+ - multipart/mixed; boundary=batchresponse_b654e883-88ee-4a2f-ba54-b034b1bf0309
962
109
  Server:
963
- - Microsoft-IIS/7.5
110
+ - Microsoft-IIS/8.0
964
111
  Set-Cookie:
965
- - ASP.NET_SessionId=5emgwxlmdljusbtbpvhhrg2j; path=/; HttpOnly
112
+ - ASP.NET_SessionId=zb4i2sjm5siu12t0mgq3yzgx; path=/; HttpOnly
966
113
  X-Content-Type-Options:
967
114
  - nosniff
968
115
  Dataserviceversion:
@@ -972,54 +119,52 @@ http_interactions:
972
119
  X-Powered-By:
973
120
  - ASP.NET
974
121
  Date:
975
- - Tue, 07 Aug 2012 21:43:15 GMT
122
+ - Sun, 26 Apr 2015 16:29:26 GMT
976
123
  body:
977
- encoding: US-ASCII
978
- string: ! "--batchresponse_383c9ccc-df0d-4698-8226-9d5a4cec3fac\r\nContent-Type:
979
- multipart/mixed; boundary=changesetresponse_b0d6531e-890d-4211-96fa-3a2596603c81\r\n\r\n--changesetresponse_b0d6531e-890d-4211-96fa-3a2596603c81\r\nContent-Type:
124
+ encoding: UTF-8
125
+ string: "--batchresponse_b654e883-88ee-4a2f-ba54-b034b1bf0309\r\nContent-Type:
126
+ multipart/mixed; boundary=changesetresponse_23482e4a-4b53-42f8-82bb-aba55c9b353b\r\n\r\n--changesetresponse_23482e4a-4b53-42f8-82bb-aba55c9b353b\r\nContent-Type:
980
127
  application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
981
128
  No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
982
- 1.0;\r\n\r\n\r\n--changesetresponse_b0d6531e-890d-4211-96fa-3a2596603c81\r\nContent-Type:
129
+ 1.0;\r\n\r\n\r\n--changesetresponse_23482e4a-4b53-42f8-82bb-aba55c9b353b\r\nContent-Type:
983
130
  application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
984
131
  No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
985
- 1.0;\r\n\r\n\r\n--changesetresponse_b0d6531e-890d-4211-96fa-3a2596603c81--\r\n--batchresponse_383c9ccc-df0d-4698-8226-9d5a4cec3fac--\r\n"
986
- http_version: !!null
987
- recorded_at: Tue, 07 Aug 2012 21:43:16 GMT
132
+ 1.0;\r\n\r\n\r\n--changesetresponse_23482e4a-4b53-42f8-82bb-aba55c9b353b--\r\n--batchresponse_b654e883-88ee-4a2f-ba54-b034b1bf0309--\r\n"
133
+ http_version:
134
+ recorded_at: Sun, 26 Apr 2015 16:29:26 GMT
988
135
  - request:
989
136
  method: post
990
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
137
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products
991
138
  body:
992
- encoding: ASCII-8BIT
993
- string: ! '{"Name":"Product 1","Description":"Test Widget","Price":"25.00","Category":{"Name":"Category
994
- 0009","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
139
+ encoding: UTF-8
140
+ string: '{"Name":"Product 1","Description":"Test Widget","Price":"75.50","Category":{"Name":"Category
141
+ 0010","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
995
142
  headers:
143
+ User-Agent:
144
+ - Ruby
996
145
  Accept:
997
- - ! '*/*; q=0.5, application/xml'
998
- Accept-Encoding:
999
- - gzip, deflate
146
+ - "*/*; q=0.5, application/xml"
1000
147
  Content-Type:
1001
148
  - application/json
1002
- Content-Length:
1003
- - '180'
1004
- User-Agent:
1005
- - Ruby
149
+ Accept-Encoding:
150
+ - gzip,deflate
1006
151
  response:
1007
152
  status:
1008
153
  code: 201
1009
- message: Created
154
+ message: ''
1010
155
  headers:
1011
156
  Cache-Control:
1012
- - no-cache
157
+ - private
1013
158
  Content-Length:
1014
- - '1434'
159
+ - '1442'
1015
160
  Content-Type:
1016
161
  - application/atom+xml;type=entry;charset=utf-8
1017
162
  Location:
1018
- - http://win7dev:8989/SampleService/RubyOData.svc/Products(1)
163
+ - http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)
1019
164
  Server:
1020
- - Microsoft-IIS/7.5
165
+ - Microsoft-IIS/8.0
1021
166
  Set-Cookie:
1022
- - ASP.NET_SessionId=zd4ztildc0fwxayue41gvwvl; path=/; HttpOnly
167
+ - ASP.NET_SessionId=hrvt22smdsts1vnctarnvrc1; path=/; HttpOnly
1023
168
  X-Content-Type-Options:
1024
169
  - nosniff
1025
170
  Dataserviceversion:
@@ -1029,59 +174,57 @@ http_interactions:
1029
174
  X-Powered-By:
1030
175
  - ASP.NET
1031
176
  Date:
1032
- - Tue, 07 Aug 2012 21:43:16 GMT
177
+ - Sun, 26 Apr 2015 16:29:26 GMT
1033
178
  body:
1034
- encoding: US-ASCII
1035
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
179
+ encoding: UTF-8
180
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
1036
181
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
1037
182
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
1038
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
183
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
1039
184
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1040
185
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1041
186
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
1042
- /><title /><updated>2012-08-07T21:43:16Z</updated><author><name /></author><content
187
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1043
188
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Product
1044
- 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
189
+ 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">75.50</d:Price><d:DiscontinuedDate
1045
190
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
1046
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:16.90625Z</d:CreateDate><d:ModifiedDate
1047
- m:type="Edm.DateTime">2012-08-07T21:43:16.90625Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
1048
- http_version: !!null
1049
- recorded_at: Tue, 07 Aug 2012 21:43:16 GMT
191
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.348657Z</d:CreateDate><d:ModifiedDate
192
+ m:type="Edm.DateTime">2015-04-26T16:29:27.348657Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
193
+ http_version:
194
+ recorded_at: Sun, 26 Apr 2015 16:29:27 GMT
1050
195
  - request:
1051
196
  method: post
1052
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products
197
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products
1053
198
  body:
1054
- encoding: ASCII-8BIT
1055
- string: ! '{"Name":"Product 2","Description":"Test Widget","Price":"10.25","Category":{"Name":"Category
1056
- 0010","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
199
+ encoding: UTF-8
200
+ string: '{"Name":"Product 2","Description":"Test Widget","Price":"25.00","Category":{"Name":"Category
201
+ 0011","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}'
1057
202
  headers:
203
+ User-Agent:
204
+ - Ruby
1058
205
  Accept:
1059
- - ! '*/*; q=0.5, application/xml'
1060
- Accept-Encoding:
1061
- - gzip, deflate
206
+ - "*/*; q=0.5, application/xml"
1062
207
  Content-Type:
1063
208
  - application/json
1064
- Content-Length:
1065
- - '180'
1066
- User-Agent:
1067
- - Ruby
209
+ Accept-Encoding:
210
+ - gzip,deflate
1068
211
  response:
1069
212
  status:
1070
213
  code: 201
1071
- message: Created
214
+ message: ''
1072
215
  headers:
1073
216
  Cache-Control:
1074
- - no-cache
217
+ - private
1075
218
  Content-Length:
1076
- - '1434'
219
+ - '1442'
1077
220
  Content-Type:
1078
221
  - application/atom+xml;type=entry;charset=utf-8
1079
222
  Location:
1080
- - http://win7dev:8989/SampleService/RubyOData.svc/Products(2)
223
+ - http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(2)
1081
224
  Server:
1082
- - Microsoft-IIS/7.5
225
+ - Microsoft-IIS/8.0
1083
226
  Set-Cookie:
1084
- - ASP.NET_SessionId=mzr4cp4kip2t3c1l4ujuy4ao; path=/; HttpOnly
227
+ - ASP.NET_SessionId=vq0r5durhtrkldthsvybnvmd; path=/; HttpOnly
1085
228
  X-Content-Type-Options:
1086
229
  - nosniff
1087
230
  Dataserviceversion:
@@ -1091,52 +234,52 @@ http_interactions:
1091
234
  X-Powered-By:
1092
235
  - ASP.NET
1093
236
  Date:
1094
- - Tue, 07 Aug 2012 21:43:16 GMT
237
+ - Sun, 26 Apr 2015 16:29:26 GMT
1095
238
  body:
1096
- encoding: US-ASCII
1097
- string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
239
+ encoding: UTF-8
240
+ string: <?xml version="1.0" encoding="utf-8"?><entry xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
1098
241
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
1099
242
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
1100
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(2)</id><category
243
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(2)</id><category
1101
244
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1102
245
  /><link rel="edit" title="Product" href="Products(2)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1103
246
  type="application/atom+xml;type=entry" title="Category" href="Products(2)/Category"
1104
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
247
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1105
248
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">2</d:Id><d:Name>Product
1106
- 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">10.25</d:Price><d:DiscontinuedDate
249
+ 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
1107
250
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">2</d:CategoryId><d:AuditFields
1108
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:17.21875Z</d:CreateDate><d:ModifiedDate
1109
- m:type="Edm.DateTime">2012-08-07T21:43:17.21875Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
1110
- http_version: !!null
1111
- recorded_at: Tue, 07 Aug 2012 21:43:17 GMT
251
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.661157Z</d:CreateDate><d:ModifiedDate
252
+ m:type="Edm.DateTime">2015-04-26T16:29:27.661157Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>
253
+ http_version:
254
+ recorded_at: Sun, 26 Apr 2015 16:29:27 GMT
1112
255
  - request:
1113
256
  method: get
1114
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products?$filter=Name%20eq%20'Product%201'
257
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products?$filter=Name%20eq%20'Product%201'
1115
258
  body:
1116
259
  encoding: US-ASCII
1117
260
  string: ''
1118
261
  headers:
1119
- Accept:
1120
- - ! '*/*; q=0.5, application/xml'
1121
- Accept-Encoding:
1122
- - gzip, deflate
1123
262
  User-Agent:
1124
263
  - Ruby
264
+ Accept:
265
+ - "*/*; q=0.5, application/xml"
266
+ Accept-Encoding:
267
+ - gzip,deflate
1125
268
  response:
1126
269
  status:
1127
270
  code: 200
1128
- message: OK
271
+ message: ''
1129
272
  headers:
1130
273
  Cache-Control:
1131
- - no-cache
274
+ - private
1132
275
  Content-Length:
1133
- - '1632'
276
+ - '1641'
1134
277
  Content-Type:
1135
278
  - application/atom+xml;type=feed;charset=utf-8
1136
279
  Server:
1137
- - Microsoft-IIS/7.5
280
+ - Microsoft-IIS/8.0
1138
281
  Set-Cookie:
1139
- - ASP.NET_SessionId=0grlznf3t0dfui4nzxh4mdmp; path=/; HttpOnly
282
+ - ASP.NET_SessionId=tnitsllati2huqn1bsejvoai; path=/; HttpOnly
1140
283
  X-Content-Type-Options:
1141
284
  - nosniff
1142
285
  Dataserviceversion:
@@ -1146,54 +289,54 @@ http_interactions:
1146
289
  X-Powered-By:
1147
290
  - ASP.NET
1148
291
  Date:
1149
- - Tue, 07 Aug 2012 21:43:16 GMT
292
+ - Sun, 26 Apr 2015 16:29:27 GMT
1150
293
  body:
1151
- encoding: US-ASCII
1152
- string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
294
+ encoding: UTF-8
295
+ string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
1153
296
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
1154
297
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
1155
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products</id><title
1156
- type="text">Products</title><updated>2012-08-07T21:43:17Z</updated><link rel="self"
1157
- title="Products" href="Products" /><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
298
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products</id><title
299
+ type="text">Products</title><updated>2015-04-26T16:29:27Z</updated><link rel="self"
300
+ title="Products" href="Products" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
1158
301
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1159
302
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1160
303
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
1161
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
304
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1162
305
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Product
1163
- 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
306
+ 1</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">75.50</d:Price><d:DiscontinuedDate
1164
307
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
1165
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:16.907</d:CreateDate><d:ModifiedDate
1166
- m:type="Edm.DateTime">2012-08-07T21:43:16.907</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
1167
- http_version: !!null
1168
- recorded_at: Tue, 07 Aug 2012 21:43:17 GMT
308
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.347</d:CreateDate><d:ModifiedDate
309
+ m:type="Edm.DateTime">2015-04-26T16:29:27.347</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
310
+ http_version:
311
+ recorded_at: Sun, 26 Apr 2015 16:29:27 GMT
1169
312
  - request:
1170
313
  method: get
1171
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products?$filter=Name%20eq%20'Product%202'
314
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products?$filter=Name%20eq%20'Product%202'
1172
315
  body:
1173
316
  encoding: US-ASCII
1174
317
  string: ''
1175
318
  headers:
1176
- Accept:
1177
- - ! '*/*; q=0.5, application/xml'
1178
- Accept-Encoding:
1179
- - gzip, deflate
1180
319
  User-Agent:
1181
320
  - Ruby
321
+ Accept:
322
+ - "*/*; q=0.5, application/xml"
323
+ Accept-Encoding:
324
+ - gzip,deflate
1182
325
  response:
1183
326
  status:
1184
327
  code: 200
1185
- message: OK
328
+ message: ''
1186
329
  headers:
1187
330
  Cache-Control:
1188
- - no-cache
331
+ - private
1189
332
  Content-Length:
1190
- - '1632'
333
+ - '1639'
1191
334
  Content-Type:
1192
335
  - application/atom+xml;type=feed;charset=utf-8
1193
336
  Server:
1194
- - Microsoft-IIS/7.5
337
+ - Microsoft-IIS/8.0
1195
338
  Set-Cookie:
1196
- - ASP.NET_SessionId=tr2rabewjopeyptiyykrjx4c; path=/; HttpOnly
339
+ - ASP.NET_SessionId=21ualafk3x0ljqfmbztf04a2; path=/; HttpOnly
1197
340
  X-Content-Type-Options:
1198
341
  - nosniff
1199
342
  Dataserviceversion:
@@ -1203,130 +346,98 @@ http_interactions:
1203
346
  X-Powered-By:
1204
347
  - ASP.NET
1205
348
  Date:
1206
- - Tue, 07 Aug 2012 21:43:16 GMT
349
+ - Sun, 26 Apr 2015 16:29:27 GMT
1207
350
  body:
1208
- encoding: US-ASCII
1209
- string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
351
+ encoding: UTF-8
352
+ string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
1210
353
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
1211
354
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
1212
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products</id><title
1213
- type="text">Products</title><updated>2012-08-07T21:43:17Z</updated><link rel="self"
1214
- title="Products" href="Products" /><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(2)</id><category
355
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products</id><title
356
+ type="text">Products</title><updated>2015-04-26T16:29:27Z</updated><link rel="self"
357
+ title="Products" href="Products" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(2)</id><category
1215
358
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1216
359
  /><link rel="edit" title="Product" href="Products(2)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1217
360
  type="application/atom+xml;type=entry" title="Category" href="Products(2)/Category"
1218
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
361
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1219
362
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">2</d:Id><d:Name>Product
1220
- 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">10.25</d:Price><d:DiscontinuedDate
363
+ 2</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
1221
364
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">2</d:CategoryId><d:AuditFields
1222
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:17.217</d:CreateDate><d:ModifiedDate
1223
- m:type="Edm.DateTime">2012-08-07T21:43:17.217</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
1224
- http_version: !!null
1225
- recorded_at: Tue, 07 Aug 2012 21:43:17 GMT
365
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.66</d:CreateDate><d:ModifiedDate
366
+ m:type="Edm.DateTime">2015-04-26T16:29:27.66</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
367
+ http_version:
368
+ recorded_at: Sun, 26 Apr 2015 16:29:27 GMT
1226
369
  - request:
1227
370
  method: post
1228
- uri: http://win7dev:8989/SampleService/RubyOData.svc/$batch
371
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/$batch
1229
372
  body:
1230
- encoding: ASCII-8BIT
1231
- string: ! '--batch_k5ni-f3qm-t4qc
1232
-
1233
- Content-Type: multipart/mixed;boundary=changeset_x91l-ym6z-bivx
1234
-
1235
-
1236
- --changeset_x91l-ym6z-bivx
373
+ encoding: UTF-8
374
+ string: |-
375
+ --batch_blxt-p70r-4p02
376
+ Content-Type: multipart/mixed;boundary=changeset_rlxe-vma1-ju3l
1237
377
 
378
+ --changeset_rlxe-vma1-ju3l
1238
379
  Content-Type: application/http
1239
-
1240
380
  Content-Transfer-Encoding: binary
1241
381
 
1242
-
1243
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
1244
-
382
+ POST http://10.10.0.17:8989/SampleService/RubyOData.svc/Products HTTP/1.1
1245
383
  Accept-Charset: utf-8
1246
-
1247
384
  Content-Type: application/json;charset=utf-8
1248
385
 
1249
-
1250
- {"Name":"Product 3","Description":"Test Widget","Price":"25.00","Category":{"Name":"Category
1251
- 0011","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
1252
-
1253
- --changeset_x91l-ym6z-bivx
1254
-
386
+ {"Name":"Product 3","Description":"Test Widget","Price":"50.00","Category":{"Name":"Category 0012","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
387
+ --changeset_rlxe-vma1-ju3l
1255
388
  Content-Type: application/http
1256
-
1257
389
  Content-Transfer-Encoding: binary
1258
390
 
1259
-
1260
- POST http://win7dev:8989/SampleService/RubyOData.svc/Products HTTP/1.1
1261
-
391
+ POST http://10.10.0.17:8989/SampleService/RubyOData.svc/Products HTTP/1.1
1262
392
  Accept-Charset: utf-8
1263
-
1264
393
  Content-Type: application/json;charset=utf-8
1265
394
 
1266
-
1267
- {"Name":"Product 4","Description":"Test Widget","Price":"75.50","Category":{"Name":"Category
1268
- 0012","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
1269
-
1270
- --changeset_x91l-ym6z-bivx
1271
-
395
+ {"Name":"Product 4","Description":"Test Widget","Price":"100.00","Category":{"Name":"Category 0013","AuditFields":{"CreatedBy":"Machinist"}},"AuditFields":{"CreatedBy":"Machinist"}}
396
+ --changeset_rlxe-vma1-ju3l
1272
397
  Content-Type: application/http
1273
-
1274
398
  Content-Transfer-Encoding: binary
1275
399
 
1276
-
1277
- PUT http://win7dev:8989/SampleService/RubyOData.svc/Products(1) HTTP/1.1
1278
-
400
+ PUT http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1) HTTP/1.1
1279
401
  Accept-Charset: utf-8
1280
-
1281
402
  Content-Type: application/json;charset=utf-8
1282
403
 
1283
-
1284
- {"Name":"Product 1 - Updated","Description":"Test Widget","Price":"25.0","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2012-08-07T21:43:16.907","ModifiedDate":"2012-08-07T21:43:16.907"},"__metadata":{"uri":"http://win7dev:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}
1285
-
1286
- --changeset_x91l-ym6z-bivx
1287
-
404
+ {"Name":"Product 1 - Updated","Description":"Test Widget","Price":"75.5","AuditFields":{"CreatedBy":"Machinist","CreateDate":"2015-04-26T16:29:27.347","ModifiedDate":"2015-04-26T16:29:27.347"},"__metadata":{"uri":"http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)"},"Id":1,"DiscontinuedDate":null,"CategoryId":1}
405
+ --changeset_rlxe-vma1-ju3l
1288
406
  Content-Type: application/http
1289
-
1290
407
  Content-Transfer-Encoding: binary
1291
408
 
1292
-
1293
- DELETE http://win7dev:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
1294
-
409
+ DELETE http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(2) HTTP/1.1
1295
410
  Accept-Charset: utf-8
1296
411
 
1297
412
 
1298
413
 
1299
414
 
1300
-
1301
- --changeset_x91l-ym6z-bivx--
1302
-
1303
- --batch_k5ni-f3qm-t4qc--'
415
+ --changeset_rlxe-vma1-ju3l--
416
+ --batch_blxt-p70r-4p02--
1304
417
  headers:
1305
- Accept:
1306
- - ! '*/*; q=0.5, application/xml'
1307
- Accept-Encoding:
1308
- - gzip, deflate
1309
- Content-Type:
1310
- - multipart/mixed; boundary=batch_k5ni-f3qm-t4qc
1311
- Content-Length:
1312
- - '1719'
1313
418
  User-Agent:
1314
419
  - Ruby
420
+ Accept:
421
+ - "*/*; q=0.5, application/xml"
422
+ Content-Type:
423
+ - multipart/mixed; boundary=batch_blxt-p70r-4p02
424
+ Accept-Encoding:
425
+ - gzip,deflate
1315
426
  response:
1316
427
  status:
1317
428
  code: 202
1318
- message: Accepted
429
+ message: ''
1319
430
  headers:
1320
431
  Cache-Control:
1321
- - no-cache
432
+ - private
1322
433
  Content-Length:
1323
- - '4358'
434
+ - '4377'
1324
435
  Content-Type:
1325
- - multipart/mixed; boundary=batchresponse_0d15d6af-3250-4223-b89a-c04d27c5414e
436
+ - multipart/mixed; boundary=batchresponse_ff6f9cbb-bbca-4505-a665-5256ae9ed775
1326
437
  Server:
1327
- - Microsoft-IIS/7.5
438
+ - Microsoft-IIS/8.0
1328
439
  Set-Cookie:
1329
- - ASP.NET_SessionId=ifw42ld5yqwdas0nfixyq20u; path=/; HttpOnly
440
+ - ASP.NET_SessionId=31nptp5zm0x3b2nnu2oxpjsh; path=/; HttpOnly
1330
441
  X-Content-Type-Options:
1331
442
  - nosniff
1332
443
  Dataserviceversion:
@@ -1336,79 +447,79 @@ http_interactions:
1336
447
  X-Powered-By:
1337
448
  - ASP.NET
1338
449
  Date:
1339
- - Tue, 07 Aug 2012 21:43:16 GMT
450
+ - Sun, 26 Apr 2015 16:29:27 GMT
1340
451
  body:
1341
- encoding: US-ASCII
1342
- string: ! "--batchresponse_0d15d6af-3250-4223-b89a-c04d27c5414e\r\nContent-Type:
1343
- multipart/mixed; boundary=changesetresponse_d120d00b-8126-414c-abd0-1ed79b7f1c1c\r\n\r\n--changesetresponse_d120d00b-8126-414c-abd0-1ed79b7f1c1c\r\nContent-Type:
452
+ encoding: UTF-8
453
+ string: "--batchresponse_ff6f9cbb-bbca-4505-a665-5256ae9ed775\r\nContent-Type:
454
+ multipart/mixed; boundary=changesetresponse_0a90430c-895a-48ba-b75f-37ba18d798e9\r\n\r\n--changesetresponse_0a90430c-895a-48ba-b75f-37ba18d798e9\r\nContent-Type:
1344
455
  application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
1345
456
  Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
1346
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(3)\r\n\r\n<?xml
1347
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
457
+ nosniff\r\nCache-Control: no-cache\r\nLocation: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(3)\r\n\r\n<?xml
458
+ version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://10.10.0.17:8989/SampleService/RubyOData.svc/\"
1348
459
  xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
1349
460
  xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
1350
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(3)</id><category
461
+ xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(3)</id><category
1351
462
  term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
1352
463
  /><link rel=\"edit\" title=\"Product\" href=\"Products(3)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
1353
464
  type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(3)/Category\"
1354
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
465
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1355
466
  type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">3</d:Id><d:Name>Product
1356
- 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">25.00</d:Price><d:DiscontinuedDate
467
+ 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">50.00</d:Price><d:DiscontinuedDate
1357
468
  m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">3</d:CategoryId><d:AuditFields
1358
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:17.359375Z</d:CreateDate><d:ModifiedDate
1359
- m:type=\"Edm.DateTime\">2012-08-07T21:43:17.359375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_d120d00b-8126-414c-abd0-1ed79b7f1c1c\r\nContent-Type:
469
+ m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2015-04-26T16:29:27.879907Z</d:CreateDate><d:ModifiedDate
470
+ m:type=\"Edm.DateTime\">2015-04-26T16:29:27.879907Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_0a90430c-895a-48ba-b75f-37ba18d798e9\r\nContent-Type:
1360
471
  application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 201
1361
472
  Created\r\nDataServiceVersion: 1.0;\r\nContent-Type: application/atom+xml;type=entry;charset=utf-8\r\nX-Content-Type-Options:
1362
- nosniff\r\nCache-Control: no-cache\r\nLocation: http://win7dev:8989/SampleService/RubyOData.svc/Products(4)\r\n\r\n<?xml
1363
- version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://win7dev:8989/SampleService/RubyOData.svc/\"
473
+ nosniff\r\nCache-Control: no-cache\r\nLocation: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(4)\r\n\r\n<?xml
474
+ version=\"1.0\" encoding=\"utf-8\"?><entry xml:base=\"http://10.10.0.17:8989/SampleService/RubyOData.svc/\"
1364
475
  xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\"
1365
476
  xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\"
1366
- xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(4)</id><category
477
+ xmlns:georss=\"http://www.georss.org/georss\" xmlns:gml=\"http://www.opengis.net/gml\"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(4)</id><category
1367
478
  term=\"RubyODataService.Product\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\"
1368
479
  /><link rel=\"edit\" title=\"Product\" href=\"Products(4)\" /><link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category\"
1369
480
  type=\"application/atom+xml;type=entry\" title=\"Category\" href=\"Products(4)/Category\"
1370
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
481
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1371
482
  type=\"application/xml\"><m:properties><d:Id m:type=\"Edm.Int32\">4</d:Id><d:Name>Product
1372
- 4</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">75.50</d:Price><d:DiscontinuedDate
483
+ 4</d:Name><d:Description>Test Widget</d:Description><d:Price m:type=\"Edm.Decimal\">100.00</d:Price><d:DiscontinuedDate
1373
484
  m:type=\"Edm.DateTime\" m:null=\"true\" /><d:CategoryId m:type=\"Edm.Int32\">4</d:CategoryId><d:AuditFields
1374
- m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2012-08-07T21:43:17.359375Z</d:CreateDate><d:ModifiedDate
1375
- m:type=\"Edm.DateTime\">2012-08-07T21:43:17.359375Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_d120d00b-8126-414c-abd0-1ed79b7f1c1c\r\nContent-Type:
485
+ m:type=\"RubyODataService.AuditFields\"><d:CreateDate m:type=\"Edm.DateTime\">2015-04-26T16:29:27.879907Z</d:CreateDate><d:ModifiedDate
486
+ m:type=\"Edm.DateTime\">2015-04-26T16:29:27.879907Z</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry>\r\n--changesetresponse_0a90430c-895a-48ba-b75f-37ba18d798e9\r\nContent-Type:
1376
487
  application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
1377
488
  No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
1378
- 1.0;\r\n\r\n\r\n--changesetresponse_d120d00b-8126-414c-abd0-1ed79b7f1c1c\r\nContent-Type:
489
+ 1.0;\r\n\r\n\r\n--changesetresponse_0a90430c-895a-48ba-b75f-37ba18d798e9\r\nContent-Type:
1379
490
  application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204
1380
491
  No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
1381
- 1.0;\r\n\r\n\r\n--changesetresponse_d120d00b-8126-414c-abd0-1ed79b7f1c1c--\r\n--batchresponse_0d15d6af-3250-4223-b89a-c04d27c5414e--\r\n"
1382
- http_version: !!null
1383
- recorded_at: Tue, 07 Aug 2012 21:43:17 GMT
492
+ 1.0;\r\n\r\n\r\n--changesetresponse_0a90430c-895a-48ba-b75f-37ba18d798e9--\r\n--batchresponse_ff6f9cbb-bbca-4505-a665-5256ae9ed775--\r\n"
493
+ http_version:
494
+ recorded_at: Sun, 26 Apr 2015 16:29:27 GMT
1384
495
  - request:
1385
496
  method: get
1386
- uri: http://win7dev:8989/SampleService/RubyOData.svc/Products?$orderby=Name
497
+ uri: http://10.10.0.17:8989/SampleService/RubyOData.svc/Products?$orderby=Name
1387
498
  body:
1388
499
  encoding: US-ASCII
1389
500
  string: ''
1390
501
  headers:
1391
- Accept:
1392
- - ! '*/*; q=0.5, application/xml'
1393
- Accept-Encoding:
1394
- - gzip, deflate
1395
502
  User-Agent:
1396
503
  - Ruby
504
+ Accept:
505
+ - "*/*; q=0.5, application/xml"
506
+ Accept-Encoding:
507
+ - gzip,deflate
1397
508
  response:
1398
509
  status:
1399
510
  code: 200
1400
- message: OK
511
+ message: ''
1401
512
  headers:
1402
513
  Cache-Control:
1403
- - no-cache
514
+ - private
1404
515
  Content-Length:
1405
- - '3786'
516
+ - '3802'
1406
517
  Content-Type:
1407
518
  - application/atom+xml;type=feed;charset=utf-8
1408
519
  Server:
1409
- - Microsoft-IIS/7.5
520
+ - Microsoft-IIS/8.0
1410
521
  Set-Cookie:
1411
- - ASP.NET_SessionId=5kxfpgs21e3s54obg2aohzr3; path=/; HttpOnly
522
+ - ASP.NET_SessionId=ekcfh2zfzf1f35jemhmozxbc; path=/; HttpOnly
1412
523
  X-Content-Type-Options:
1413
524
  - nosniff
1414
525
  Dataserviceversion:
@@ -1418,42 +529,42 @@ http_interactions:
1418
529
  X-Powered-By:
1419
530
  - ASP.NET
1420
531
  Date:
1421
- - Tue, 07 Aug 2012 21:43:16 GMT
532
+ - Sun, 26 Apr 2015 16:29:27 GMT
1422
533
  body:
1423
- encoding: US-ASCII
1424
- string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://win7dev:8989/SampleService/RubyOData.svc/"
534
+ encoding: UTF-8
535
+ string: <?xml version="1.0" encoding="utf-8"?><feed xml:base="http://10.10.0.17:8989/SampleService/RubyOData.svc/"
1425
536
  xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"
1426
537
  xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss"
1427
- xmlns:gml="http://www.opengis.net/gml"><id>http://win7dev:8989/SampleService/RubyOData.svc/Products</id><title
1428
- type="text">Products</title><updated>2012-08-07T21:43:17Z</updated><link rel="self"
1429
- title="Products" href="Products" /><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(1)</id><category
538
+ xmlns:gml="http://www.opengis.net/gml"><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products</id><title
539
+ type="text">Products</title><updated>2015-04-26T16:29:27Z</updated><link rel="self"
540
+ title="Products" href="Products" /><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(1)</id><category
1430
541
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1431
542
  /><link rel="edit" title="Product" href="Products(1)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1432
543
  type="application/atom+xml;type=entry" title="Category" href="Products(1)/Category"
1433
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
544
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1434
545
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">1</d:Id><d:Name>Product
1435
- 1 - Updated</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
546
+ 1 - Updated</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">75.50</d:Price><d:DiscontinuedDate
1436
547
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">1</d:CategoryId><d:AuditFields
1437
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:16.907</d:CreateDate><d:ModifiedDate
1438
- m:type="Edm.DateTime">2012-08-07T21:43:16.907</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(3)</id><category
548
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.347</d:CreateDate><d:ModifiedDate
549
+ m:type="Edm.DateTime">2015-04-26T16:29:27.347</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(3)</id><category
1439
550
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1440
551
  /><link rel="edit" title="Product" href="Products(3)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1441
552
  type="application/atom+xml;type=entry" title="Category" href="Products(3)/Category"
1442
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
553
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1443
554
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">3</d:Id><d:Name>Product
1444
- 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">25.00</d:Price><d:DiscontinuedDate
555
+ 3</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">50.00</d:Price><d:DiscontinuedDate
1445
556
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">3</d:CategoryId><d:AuditFields
1446
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:17.36</d:CreateDate><d:ModifiedDate
1447
- m:type="Edm.DateTime">2012-08-07T21:43:17.36</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry><entry><id>http://win7dev:8989/SampleService/RubyOData.svc/Products(4)</id><category
557
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.88</d:CreateDate><d:ModifiedDate
558
+ m:type="Edm.DateTime">2015-04-26T16:29:27.88</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry><entry><id>http://10.10.0.17:8989/SampleService/RubyOData.svc/Products(4)</id><category
1448
559
  term="RubyODataService.Product" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"
1449
560
  /><link rel="edit" title="Product" href="Products(4)" /><link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Category"
1450
561
  type="application/atom+xml;type=entry" title="Category" href="Products(4)/Category"
1451
- /><title /><updated>2012-08-07T21:43:17Z</updated><author><name /></author><content
562
+ /><title /><updated>2015-04-26T16:29:27Z</updated><author><name /></author><content
1452
563
  type="application/xml"><m:properties><d:Id m:type="Edm.Int32">4</d:Id><d:Name>Product
1453
- 4</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">75.50</d:Price><d:DiscontinuedDate
564
+ 4</d:Name><d:Description>Test Widget</d:Description><d:Price m:type="Edm.Decimal">100.00</d:Price><d:DiscontinuedDate
1454
565
  m:type="Edm.DateTime" m:null="true" /><d:CategoryId m:type="Edm.Int32">4</d:CategoryId><d:AuditFields
1455
- m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2012-08-07T21:43:17.36</d:CreateDate><d:ModifiedDate
1456
- m:type="Edm.DateTime">2012-08-07T21:43:17.36</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
1457
- http_version: !!null
1458
- recorded_at: Tue, 07 Aug 2012 21:43:17 GMT
1459
- recorded_with: VCR 2.2.4
566
+ m:type="RubyODataService.AuditFields"><d:CreateDate m:type="Edm.DateTime">2015-04-26T16:29:27.88</d:CreateDate><d:ModifiedDate
567
+ m:type="Edm.DateTime">2015-04-26T16:29:27.88</d:ModifiedDate><d:CreatedBy>Machinist</d:CreatedBy></d:AuditFields></m:properties></content></entry></feed>
568
+ http_version:
569
+ recorded_at: Sun, 26 Apr 2015 16:29:28 GMT
570
+ recorded_with: VCR 2.5.0