{"id":109,"date":"2009-06-29T08:59:08","date_gmt":"2009-06-29T07:59:08","guid":{"rendered":"http:\/\/blogs.igalia.com\/eocanha\/?p=109"},"modified":"2015-11-08T00:21:01","modified_gmt":"2015-11-07T23:21:01","slug":"109","status":"publish","type":"post","link":"https:\/\/eocanha.org\/blog\/2009\/06\/29\/109\/","title":{"rendered":"Simple HTTP server in Python"},"content":{"rendered":"<p>Reading blog comments about <a href=\"http:\/\/meiga.igalia.com\">Meiga<\/a> out there, I&#8217;ve found <a href=\"http:\/\/www.makeuseof.com\/tag\/dead-simple-file-sharing-with-meiga-linux\/\">one particularly interesting<\/a>. Python has an embedded HTTP server that can serve the current directory from a given port. It can be instanced for port 8282 simply issuing this command:<\/p>\n<pre>\n  python -m SimpleHTTPServer 8282\n<\/pre>\n<p>The funny thing is that&#8230; it works on the N810 also!<\/p>\n<p>More info about SimpleHTTPServer <a href=\"http:\/\/docs.python.org\/library\/simplehttpserver.html\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reading blog comments about Meiga out there, I&#8217;ve found one particularly interesting. Python has an embedded HTTP server that can serve the current directory from a given port. It can be instanced for port 8282 simply issuing this command: python -m SimpleHTTPServer 8282 The funny thing is that&#8230; it works on the N810 also! More &hellip; <a href=\"https:\/\/eocanha.org\/blog\/2009\/06\/29\/109\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Simple HTTP server in Python<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,2,3,4],"tags":[],"_links":{"self":[{"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/posts\/109"}],"collection":[{"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":1,"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"predecessor-version":[{"id":412,"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/posts\/109\/revisions\/412"}],"wp:attachment":[{"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eocanha.org\/blog\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}