{"id":1612,"date":"2024-11-11T20:13:36","date_gmt":"2024-11-11T18:13:36","guid":{"rendered":"https:\/\/www.shukko.com\/x3\/?p=1612"},"modified":"2024-11-12T06:22:00","modified_gmt":"2024-11-12T04:22:00","slug":"quick-threaded-python-webserver","status":"publish","type":"post","link":"https:\/\/www.shukko.com\/x3\/2024\/11\/11\/quick-threaded-python-webserver\/","title":{"rendered":"quick threaded python  webserver"},"content":{"rendered":"\n<p>SimpleHTTPServer with support for Range requests<\/p>\n\n\n\n<p>Quickstart:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ pip install rangehttpserver\n$ python -m RangeHTTPServer\nServing HTTP on 0.0.0.0 port 8000 ...\n\n<\/code><\/pre>\n\n\n\n<p>or<\/p>\n\n\n\n<p>apt install python3-rangehttpserver<\/p>\n\n\n\n<p>python3 -m RangeHTTPServer<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Ek: Buna yazilacak bir kac sey daha var<\/p>\n\n\n\n<p>debian bookworm repolarindaki versyon eski o yuzden port parametresi giremiyoz yani ayni anda 1 den fazla calistiramiyoruz. o yuzden soyle yaptim<\/p>\n\n\n\n<p>githubdan son release indirim <\/p>\n\n\n\n<p>py leri degistirdim son surum oldu \ud83d\ude42<\/p>\n\n\n\n<p>nerede dizinler?<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/lib\/python3\/dist-packages\/RangeHTTPServer\/__init__.py\n\/usr\/lib\/python3\/dist-packages\/RangeHTTPServer\/__main__.py<\/pre>\n\n\n\n<p>port girmek icin :  python3 -m RangeHTTPServer 7654<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SimpleHTTPServer with support for Range requests Quickstart: or apt install python3-rangehttpserver python3 -m RangeHTTPServer Ek: Buna yazilacak bir kac sey daha var debian bookworm repolarindaki versyon eski o yuzden port parametresi giremiyoz yani ayni anda 1 den fazla calistiramiyoruz. o yuzden soyle yaptim githubdan son release indirim py leri degistirdim son surum oldu \ud83d\ude42 nerede [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1612","post","type-post","status-publish","format-standard","hentry","category-kategerisiz"],"_links":{"self":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/comments?post=1612"}],"version-history":[{"count":3,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1612\/revisions"}],"predecessor-version":[{"id":1620,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/posts\/1612\/revisions\/1620"}],"wp:attachment":[{"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/media?parent=1612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/categories?post=1612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shukko.com\/x3\/wp-json\/wp\/v2\/tags?post=1612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}