---
http_interactions:
- request:
method: post
uri: https://admin:passwd@win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories
body:
encoding: ASCII-8BIT
string: ! '{"Name":"Auth Test Category","AuditFields":{"CreatedBy":"Machinist"}}'
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- '69'
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Cache-Control:
- no-cache
Content-Length:
- '1282'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Location:
- https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=o5sznpaa1cviza5dsdjbbrgx; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:56 GMT
body:
encoding: US-ASCII
string: https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)2012-08-07T21:21:56Z1Auth
Test Category2012-08-07T21:21:56.953125Z2012-08-07T21:21:56.953125ZMachinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
- request:
method: get
uri: https://admin:passwd@win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '1274'
Content-Type:
- application/atom+xml;type=entry;charset=utf-8
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=xa4wqiktizqq2hfjeibtjacv; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:56 GMT
body:
encoding: US-ASCII
string: https://win7dev:44300/SampleService/BasicAuth/RubyOData.svc/Categories(1)2012-08-07T21:21:57Z1Auth
Test Category2012-08-07T21:21:56.9532012-08-07T21:21:56.953Machinist
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
- request:
method: get
uri: https://admin:passwd@win7dev:44300/SampleService/BasicAuth/RubyOData.svc/$metadata
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- ! '*/*; q=0.5, application/xml'
Accept-Encoding:
- gzip, deflate
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache
Content-Length:
- '4055'
Content-Type:
- application/xml;charset=utf-8
Server:
- Microsoft-IIS/7.5
Set-Cookie:
- ASP.NET_SessionId=nqu2cmw2lsdcdow1tflssuqz; path=/; HttpOnly
X-Content-Type-Options:
- nosniff
Dataserviceversion:
- 1.0;
X-Aspnet-Version:
- 4.0.30319
X-Powered-By:
- ASP.NET
Date:
- Tue, 07 Aug 2012 21:21:56 GMT
body:
encoding: US-ASCII
string:
http_version: !!null
recorded_at: Tue, 07 Aug 2012 21:21:57 GMT
recorded_with: VCR 2.2.4