Skip to content

Instantly share code, notes, and snippets.

@karenc
Last active January 22, 2016 06:40
Show Gist options
  • Save karenc/6cbca495bbe2db1f945a to your computer and use it in GitHub Desktop.
Save karenc/6cbca495bbe2db1f945a to your computer and use it in GitHub Desktop.

Redirects for cnx-archive contents API

master

--2016-01-21 20:11:33--  http://trusty.local:6543/contents/55_943-0:IJ3rHxpG
Resolving trusty.local (trusty.local)... 192.168.122.251
Connecting to trusty.local (trusty.local)|192.168.122.251|:6543... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%407.1%3AIJ3rHxpG.json [following]
--2016-01-21 20:11:33--  http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%407.1%3AIJ3rHxpG.json
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/209deb1f-1a46-4369-9e0d-18674cf58a3e%407 [following]
--2016-01-21 20:11:33--  http://trusty.local:6543/contents/209deb1f-1a46-4369-9e0d-18674cf58a3e%407
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 200 OK
Length: 22696 (22K) [application/json]
Saving to: ‘/dev/null’

     0K .......... .......... ..                              100% 75.5M=0s

2016-01-21 20:11:33 (75.5 MB/s) - ‘/dev/null’ saved [22696/22696]
redirect from url redirect to url
/contents/55_943-0:IJ3rHxpG /contents/e79ffde3-7fb4-4af3-9ec8-df648b391597@7.1:IJ3rHxpG.json
/contents/<book-short-id>:<page-short-id> /contents/<book-uuid>@<book-version>:<page-short-id>.json
/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597@7.1:IJ3rHxpG.json /contents/209deb1f-1a46-4369-9e0d-18674cf58a3e@7
/contents/<book-uuid>@<book-version>:<page-short-id>.json /contents/<page-uuid>@<page-version>

refactor-routes (update 1)

--2016-01-22 05:46:45--  http://trusty.local:6543/contents/55_943-0:IJ3rHxpG
Resolving trusty.local (trusty.local)... 192.168.122.251
Connecting to trusty.local (trusty.local)|192.168.122.251|:6543... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%407.1%3AIJ3rHxpG [following]
--2016-01-22 05:46:45--  http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%407.1%3AIJ3rHxpG
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/209deb1f-1a46-4369-9e0d-18674cf58a3e%407 [following]
--2016-01-22 05:46:45--  http://trusty.local:6543/contents/209deb1f-1a46-4369-9e0d-18674cf58a3e%407
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 200 OK
Length: 22696 (22K) [application/json]
Saving to: `/dev/null`
redirect from url redirect to url
/contents/55_943-0:IJ3rHxpG /contents/e79ffde3-7fb4-4af3-9ec8-df648b391597@7.1:IJ3rHxpG
/contents/<book-short-id>:<page-short-id> /contents/<book-uuid>@<book-version>:<page-short-id>
/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597@7.1:IJ3rHxpG /contents/209deb1f-1a46-4369-9e0d-18674cf58a3e@7
/contents/<book-uuid>@<book-version>:<page-short-id> /contents/<page-uuid>@<page-version>

refactor-routes

--2016-01-21 20:12:18--  http://trusty.local:6543/contents/55_943-0:IJ3rHxpG
Resolving trusty.local (trusty.local)... 192.168.122.251
Connecting to trusty.local (trusty.local)|192.168.122.251|:6543... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/55_943-0%3AIJ3rHxpG.json [following]
--2016-01-21 20:12:18--  http://trusty.local:6543/contents/55_943-0%3AIJ3rHxpG.json
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%3AIJ3rHxpG.json [following]
--2016-01-21 20:12:18--  http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%3AIJ3rHxpG.json
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%407.1%3AIJ3rHxpG.json [following]
--2016-01-21 20:12:19--  http://trusty.local:6543/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597%407.1%3AIJ3rHxpG.json
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 302 Found
Location: http://trusty.local:6543/contents/209deb1f-1a46-4369-9e0d-18674cf58a3e%407.json [following]
--2016-01-21 20:12:19--  http://trusty.local:6543/contents/209deb1f-1a46-4369-9e0d-18674cf58a3e%407.json
Reusing existing connection to trusty.local:6543.
HTTP request sent, awaiting response... 200 OK
Length: 22696 (22K) [application/json]
Saving to: ‘/dev/null’

     0K .......... .......... ..                              100% 70.4M=0s

2016-01-21 20:12:19 (70.4 MB/s) - ‘/dev/null’ saved [22696/22696]
redirect from url redirect to url
/contents/55_943-0:IJ3rHxpG /contents/55_943-0:IJ3rHxpG.json
/contents/<book-short-id>:<page-short-id> /contents/<book-short-id>:<page-short-id>.json
/contents/55_943-0:IJ3rHxpG.json /contents/e79ffde3-7fb4-4af3-9ec8-df648b391597:IJ3rHxpG.json
/contents/<book-short-id>:<page-short-id>.json /contents/<book-uuid>:<page-short-id>.json
/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597:IJ3rHxpG.json /contents/e79ffde3-7fb4-4af3-9ec8-df648b391597@7.1:IJ3rHxpG.json
/contents/<book-uuid>:<page-short-id>.json /contents/<book-uuid>@<book-version>:<page-short-id>.json
/contents/e79ffde3-7fb4-4af3-9ec8-df648b391597@7.1:IJ3rHxpG.json /contents/209deb1f-1a46-4369-9e0d-18674cf58a3e@7.json
/contents/<book-uuid>@<book-version>:<page-short-id>.json /contents/<page-uuid>@<page-version>.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment