forked from mwunsch/tumblr
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
96 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
- !ruby/struct:VCR::RecordedResponse | ||
method: :post | ||
uri: http://tumblrgemtest.tumblr.com:80/api/pages | ||
response: !ruby/object:Net::HTTPOK | ||
body: | | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<tumblr version="1.0"><pages><page url="http://tumblrgemtest.tumblr.com/test1" render-in-theme="true" title="Page Test 1" link-title="Page Test 1">Test #1</page><page url="http://tumblrgemtest.tumblr.com/test2" render-in-theme="true" title="Page Test 2">Whatsup</page></pages></tumblr> | ||
body_exist: true | ||
code: "200" | ||
header: | ||
p3p: | ||
- CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL" | ||
content-type: | ||
- text/xml | ||
connection: | ||
- close | ||
x-tumblr-usec: | ||
- D=86883 | ||
server: | ||
- Apache/2.2.3 (Red Hat) | ||
date: | ||
- Fri, 26 Mar 2010 17:35:45 GMT | ||
content-length: | ||
- "325" | ||
x-tumblr-perf: | ||
- "\"ch:0/ cm:0/ ce:0/ c:0/0 d:0/0 e:0/0\"" | ||
vary: | ||
- Accept-Encoding | ||
http_version: "1.1" | ||
message: OK | ||
read: true | ||
socket: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
- !ruby/struct:VCR::RecordedResponse | ||
method: :get | ||
uri: http://tumblrgemtest.tumblr.com:80/api/pages | ||
response: !ruby/object:Net::HTTPOK | ||
body: | | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<tumblr version="1.0"><pages><page url="http://tumblrgemtest.tumblr.com/test1" render-in-theme="true" title="Page Test 1" link-title="Page Test 1">Test #1</page></pages></tumblr> | ||
body_exist: true | ||
code: "200" | ||
header: | ||
p3p: | ||
- CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL" | ||
content-type: | ||
- text/xml | ||
connection: | ||
- close | ||
x-tumblr-usec: | ||
- D=18293 | ||
server: | ||
- Apache/2.2.3 (Red Hat) | ||
date: | ||
- Fri, 26 Mar 2010 17:21:33 GMT | ||
content-length: | ||
- "218" | ||
x-cache-auto: | ||
- miss | ||
x-tumblr-perf: | ||
- "\"ch:0/ cm:0/ ce:0/ c:0/0 d:0/0 e:0/0\"" | ||
vary: | ||
- Accept-Encoding | ||
http_version: "1.1" | ||
message: OK | ||
read: true | ||
socket: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters