Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
opening connection to nz.ckan.net...
opened
<- "GET /api/2/rest/package/international-position HTTP/1.1\r\nConnection: close\r\nAuthorization: some_secret_key\r\nHost: nz.ckan.net\r\n\r\n"
-> "HTTP/1.1 404 Not Found\r\n"
-> "Date: Fri, 23 Jul 2010 10:00:17 GMT\r\n"
-> "Server: Apache/2.2.9 (Debian) mod_wsgi/2.5 Python/2.5.2\r\n"
-> "Pragma: no-cache\r\n"
-> "Vary: Accept-Encoding\r\n"
-> "Content-Type: text/html; charset=utf-8\r\n"
-> "Cache-Control: no-cache, proxy-revalidate\r\n"
-> "Content-Length: 4363\r\n"
-> "Connection: close\r\n"
-> "\r\n"
reading 4363 bytes...
-> "<html>\n \n \n\n\n<head xmlns:doap=\"http://usefulinc.com/ns/doap\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\">\n <title>CKAN - Comprehensive Knowledge Archive Network - Error 404</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <link rel=\"shortcut icon\" href=\"http://m.okfn.org/gfx/logo/favicon.ico\" type=\"image/x-icon\" />\n <link rel=\"alternate\" type=\"application/atom+xml\" title=\"CKAN Recent Changes\" href=\"/revision/list?format=atom&amp;days=1\" />\n <style type=\"text/css\">\n @import url(http://m.okfn.org/kforge/css/structure.css);\n @import url(http://m.okfn.org/kforge/css/display.css);\n @import url(http://m.okfn.org/kforge/css/navigation.css);\n @import url(http://m.okfn.org/kforge/css/print.css);\n </style>\n <link rel=\"stylesheet\" href=\"/css/ckan.master.css\" type=\"text/css\" media=\"screen, print\" />\n <!--[if IE]>\n <link rel=\"stylesheet\" href=\"/css/ie.css\" type=\"text/css\" media=\"screen, print\" />\n <![endif]-->\n <script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js\"></script>\n <script type=\"text/javascript\" src=\"/scripts/application.js\"></script>\n</head>\n<body>\n<div "
-> "id=\"airlock\">\n <!--[if IE]>\n <hr class=\"holder\" />\n <![endif]-->\n <div id=\"top\">\n <div id=\"top-inner\">\n <div id=\"top-bar\">\n <topbar>\n <p>\n <a href=\"/user/login\">Login with <img src=\"/images/icons/openid.png\" height=\"16px\" width=\"16px\" alt=\"None\" /> OpenID</a>\n </p>\n </topbar>\n </div><!-- /top-bar -->\n <h1>\n <a href=\"/\"><img style=\"padding: 0; margin-top: -10px; margin-bottom: -10px;\" src=\"/images/ckan_logo_fullname_long.png\" alt=\"CKAN Logo\" /></a>\n <!-- <a href=\"/\" title=\"CKAN Home\">Comprehensive Knowledge Archive Network</a> -->\n </h1>\n </div><!-- /top-inner -->\n <h3 class=\"hidden\">Sections:</h3>\n <ul id=\"navigation\">\n <li><a class=\"\" href=\"/\">Home</a></li>\n <li><a class=\"\" href=\"/package/\">Packages</a></li>\n <li><a class=\"\" href=\"/tag/\">Tags</a></li>\n <li><a class=\"\" href=\"/group/\">Groups</a></li>\n <li><a class=\"\" href=\"/revision\">Recent changes</a></li>\n\t\t\t<li><a class=\"\" href=\"/api\">API</a></li>\n </ul>\n <h3 class=\"hidden\">In this section:</h3>\n <ul id=\"subnav\"></ul>\n <!--[if IE]>\n <hr class=\"holder\" />\n <![endif]-->\n </div><!-- /top -->\n <p class=\"hidden\"><a href=\"#main\" title=\"Skip to page content\">[ Skip to main content ]</a></p>\n <div id=\"primary\" class=\"sidebar\">\n <primarysidebar>\n <!-- Primary Side Bar Goes Here -->\n </primarysidebar>\n <!--[if IE]>\n <hr c"
-> "lass=\"pr"
-> "imary\" />\n <![endif]-->\n </div><!-- /primary -->\n <div id=\"main\">\n <div>\n \n </div>\n <div id=\"footer\">\n <p>\n <a href=\"http://validator.w3.org/check/referer\" title=\"Valid XHTML 1.1\">XHTML</a>\n | <a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a>\n | <a href=\"http://www.okfn.org/ckan/\">Project Home Page</a>\n | <a href=\"http://www.okfn.org/contact/\">Contact Us</a>\n | <a href=\"http://www.okfn.org/privacy-policy/\">Privacy Policy</a>\n </p>\n <p>\n <img style=\"margin-bottom: -5px;\" src=\"http://m.okfn.org/images/logo/okf_logo_white_and_green_tiny.png\" /> An <a href=\"http://www.okfn.org/\">Open Knowledge Foundation</a> Project\n </p>\n <p>\n v1.1a\n | (c) Open Knowledge Foundation\n\t| All material available under an <a href=\"/license\">open license</a>\n | <a href=\"http://www.opendefinition.org/1.0/\"><img style=\"border: none; margin-bottom: -4px;\" src=\"http://m.okfn.org/images/ok_buttons/ok_90x15_blue.png\" alt=\"This Content and Data is Open\" /></a>\n | <a href=\"http://www.opendefinition.org/1.0/\"><img style=\"border: none; margin-bottom: -4px;\" src=\"http://m.okfn.org/images/ok_buttons/od_80x15_blue.png\" alt=\"This Content and Data is Open\" /></a>\n </p>\n </div><!-- /footer -->\n <!--[if IE]>\n <hr class=\"main\" />\n <![endif]-->\n </div><!-- /main -->\n</div><!-- /airlock -->\n <!-- Google Analytics -->\n "
-> "<script src=\"http://www.google-analytics.com/ga.js\" type=\"text/javascript\"></script>\n <script type=\"text/javascript\">\n try {\n var pageTracker = _gat._getTracker(\"UA-8271754-2\");\n pageTracker._setDomainName(\".ckan.net\");\n pageTracker._trackPageview();\n } catch(err) {}\n </script>\n <!-- /Google Analytics -->\n</body>\n\n\n</html>"
read 4363 bytes
Conn close
opening connection to nz.ckan.net...
opened
<- "POST /api/2/rest/package HTTP/1.1\r\nContent-Type: application/x-www-form-urlencoded\r\nConnection: close\r\nAuthorization: some_secret_key\r\nContent-Length: 1059\r\nHost: nz.ckan.net\r\n\r\n"
<- "{\"name\":\"international-position\",\"maintainer_email\":null,\"author\":\"Reserve Bank of New Zealand\",\"title\":\"International position\",\"notes\":\"<p>Selected tables providing information on New Zealand's external position, including international reserves and foreign currency liquidity, selected account positions at the IMF and the liabilities owed by New Zealand residents to non-residents arising from the acquisition of foreign financial resources and/or goods and services.</p>\",\"maintainer\":null,\"url\":\"http://www.rbnz.govt.nz/statistics/extfin/index.html\",\"resources\":[{\"format\":\"xls\",\"url\":\"http://www.rbnz.govt.nz/statistics/extfin/index.html\"}],\"tags\":[\"finance\",\"money\",\"forex\"],\"license_id\":null,\"version\":1,\"extras\":{\"contact_name\":\"Statistics Unit\",\"license_text\":\"Unknown\",\"instant_access\":\"Yes\",\"free\":\"Yes\",\"contact_phone\":\"64 4 471 3842 or 64 4 471 3696\",\"update_frequency\":\"See the release calendar http://www.rbnz.govt.nz/statistics/releasedates/calendar.html\",\"contact_email\":\"stats-info@rbnz.govt.nz\",\"department_id\":\"284\"},\"author_email\":null}"
-> "HTTP/1.1 500 Internal Server Error\r\n"
-> "Date: Fri, 23 Jul 2010 10:00:18 GMT\r\n"
-> "Server: Apache/2.2.9 (Debian) mod_wsgi/2.5 Python/2.5.2\r\n"
-> "Pragma: no-cache\r\n"
-> "Vary: Accept-Encoding\r\n"
-> "Content-Type: text/html; charset=utf-8\r\n"
-> "Cache-Control: no-cache, proxy-revalidate\r\n"
-> "Content-Length: 4538\r\n"
-> "Connection: close\r\n"
-> "\r\n"
reading 4538 bytes...
-> "<html>\n \n \n\n\n<head xmlns:doap=\"http://usefulinc.com/ns/doap\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\">\n <title>CKAN - Comprehensive Knowledge Archive Network - Error 500</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <link rel=\"shortcut icon\" href=\"http://m.okfn.org/gfx/logo/favicon.ico\" type=\"image/x-icon\" />\n <link rel=\"alternate\" type=\"application/atom+xml\" title=\"CKAN Recent Changes\" href=\"/revision/list?format=atom&amp;days=1\" />\n <style type=\"text/css\">\n @import url(http://m.okfn.org/kforge/css/structure.css);\n @import url(http://m.okfn.org/kforge/css/display.css);\n @import url(http://m.okfn.org/kforge/css/navigation.css);\n @import url(http://m.okfn.org/kforge/css/print.css);\n </style>\n <link rel=\"stylesheet\" href=\"/css/ckan.master.css\" type=\"text/css\" media=\"screen, print\" />\n <!--[if IE]>\n <link rel=\"stylesheet\" href=\"/css/ie.css\" type=\"text/css\" media=\"screen, print\" />\n <![endif]-->\n <script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js\"></script>\n <script type=\"text/javascript\" src=\"/scripts/application.js\"></script>\n</head>\n<body>\n<div "
-> "id=\"airlock\">\n <!--[if IE]>\n <hr class=\"holder\" />\n <![endif]-->\n <div id=\"top\">\n <div id=\"top-inner\">\n <div id=\"top-bar\">\n <topbar>\n <p>\n <a href=\"/user/login\">Login with <img src=\"/images/icons/openid.png\" height=\"16px\" width=\"16px\" alt=\"None\" /> OpenID</a>\n </p>\n </topbar>\n </div><!-- /top-bar -->\n <h1>\n <a href=\"/\"><img style=\"padding: 0; margin-top: -10px; margin-bottom: -10px;\" src=\"/images/ckan_logo_fullname_long.png\" alt=\"CKAN Logo\" /></a>\n <!-- <a href=\"/\" title=\"CKAN Home\">Comprehensive Knowledge Archive Network</a> -->\n </h1>\n </div><!-- /top-inner -->\n <h3 class=\"hidden\">Sections:</h3>\n <ul id=\"navigation\">\n <li><a class=\"\" href=\"/\">Home</a></li>\n <li><a class=\"\" href=\"/package/\">Packages</a></li>\n <li><a class=\"\" href=\"/tag/\">Tags</a></li>\n <li><a class=\"\" href=\"/group/\">Groups</a></li>\n <li><a class=\"\" href=\"/revision\">Recent changes</a></li>\n\t\t\t<li><a class=\"\" href=\"/api\">API</a></li>\n </ul>\n <h3 class=\"hidden\">In this section:</h3>\n <ul id=\"subnav\"></ul>\n <!--[if IE]>\n <hr class=\"holder\" />\n <![endif]-->\n </div><!-- /top -->\n <p class=\"hidden\"><a href=\"#main\" title=\"Skip to page content\">[ Skip to main content ]</a></p>\n <div id=\"primary\" class=\"sidebar\">\n <primarysidebar>\n <!-- Primary Side Bar Goes Here -->\n </primarysidebar>\n <!--[if IE]>\n <hr c"
-> "lass=\"primary\" />\n <![endif]-->\n </div><!-- /primary -->\n <div id=\"main\">\n <div>\n \n <html>\n <head>\n <title>Server Error</title>\n \n </head>\n <body>\n <h1>Server Error</h1>\n An internal server error occurred\n \n </body>\n </html>\n </div>\n <div id=\"footer\">\n <p>\n <a href=\"http://validator.w3.org/check/referer\" title=\"Valid XHTML 1.1\">XHTML</a>\n | <a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a>\n | <a href=\"http://www.okfn.org/ckan/\">Project Home Page</a>\n | <a href=\"http://www.okfn.org/contact/\">Contact Us</a>\n | <a href=\"http://www.okfn.org/privacy-policy/\">Privacy Policy</a>\n </p>\n <p>\n <img style=\"margin-bottom: -5px;\" src=\"http://m.okfn.org/images/logo/okf_logo_white_and_green_tiny.png\" /> An <a href=\"http://www.okfn.org/\">Open Knowledge Foundation</a> Project\n </p>\n <p>\n v1.1a\n | (c) Open Knowledge Foundation\n\t| All material available under an <a href=\"/license\">open license</a>\n | <a href=\"http://www.opendefinition.org/1.0/\"><img style=\"border: none; margin-bottom: -4px;\" src=\"http://m.okfn.org/images/ok_buttons/ok_90x15_blue.png\" alt=\"This Content and Data is Open\" /></a>\n | <a href=\"http://www.opendefinition.org/1.0/\"><img style=\"border: none; margin-bottom: -4px;\" src=\"http://m.okfn.org/images/ok_buttons/od_80x15_blue.png\" alt=\"This Content and Data is Ope"
-> "n\" /></a>\n </p>\n </div><!-- /footer -->\n <!--[if IE]>\n <hr class=\"main\" />\n <![endif]-->\n </div><!-- /main -->\n</div><!-- /airlock -->\n <!-- Google Analytics -->\n <script src=\"http://www.google-analytics.com/ga.js\" type=\"text/javascript\"></script>\n <script type=\"text/javascript\">\n try {\n var pageTracker = _gat._getTracker(\"UA-8271754-2\");\n pageTracker._setDomainName(\".ckan.net\");\n pageTracker._trackPageview();\n } catch(err) {}\n </script>\n <!-- /Google Analytics -->\n</body>\n\n\n</html>"
read 4538 bytes
Conn close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment