{"id":599,"date":"2010-06-30T23:21:47","date_gmt":"2010-06-30T14:21:47","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=599"},"modified":"2010-06-30T23:24:07","modified_gmt":"2010-06-30T14:24:07","slug":"cocoahttpserver","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/cocoahttpserver\/","title":{"rendered":"iPhone\u30a2\u30d7\u30ea\u306b\u7d44\u307f\u8fbc\u3093\u3067\u4f7f\u3048\u308bHTTPD\u300cCocoaHTTPServer\u300d"},"content":{"rendered":"<p>\u4eca\u65e5\u306f\u76ee\u5148\u3092\u5909\u3048\u3066iPhone\u30a2\u30d7\u30ea\u958b\u767a\u8005\u7528\u306eHTTP\u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308b\u300cCocoaHTTPServer\u300d\u3092\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002iPhone\u30a2\u30d7\u30ea\u3068PC\/Mac\u3067\u30c7\u30fc\u30bf\u3092\u3084\u308a\u3068\u308a\u3059\u308b\u5834\u5408\u3001iPhone\u3067HTTP\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u305d\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u65b9\u6cd5\u3092\u4f7f\u3046\u3053\u3068\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u300cCocoaHTTPServer\u300d\u3092\u4f7f\u3048\u3070iPhone\u30a2\u30d7\u30ea\u306bHTTP\u30b5\u30fc\u30d0\u30fc\u6a5f\u80fd\u3092\u7c21\u5358\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2010\/06\/CocoaHTTPServer.jpg\"><img decoding=\"async\" src=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2010\/06\/CocoaHTTPServer.jpg\" alt=\"\" title=\"CocoaHTTPServer\" width=\"422\" height=\"785\" class=\"alignnone size-full wp-image-600\" srcset=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2010\/06\/CocoaHTTPServer.jpg 422w, https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2010\/06\/CocoaHTTPServer-320x595.jpg 320w\" sizes=\"(max-width: 422px) 100vw, 422px\" \/><\/a><\/p>\n<p>\u6b21\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li> bonjour\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u306e\u30b5\u30dd\u30fc\u30c8\u3002\n<li>IPv4 \u3068 IPv6\u306e\u30b5\u30dd\u30fc\u30c8\u3002\n<li>Cocoa\u30bd\u30b1\u30c3\u30c8\u30fb\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u5229\u7528\u3057\u305f\u975e\u540c\u671f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3002\n<li>Digest\u8a8d\u8a3c\u3002\n<li>TLS\u6697\u53f7\u5316\u30b5\u30dd\u30fc\u30c8\u3002\n<\/ul>\n<p>\u306a\u3069\u306a\u3069\u3002\u30e9\u30a4\u30bb\u30f3\u30b9\u306f\u300cNew BSD License\u300d\u306a\u306e\u3067\u5546\u7528iPhone\u30a2\u30d7\u30ea\u306b\u3082\u554f\u984c\u306a\u304f\u7d44\u307f\u8fbc\u3081\u305d\u3046\u3067\u3059\u3002<br \/>\n<!--more--><\/p>\n<p><strong>\u25a0\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/strong><br \/>\n\u3068\u308a\u3042\u3048\u305aiPhone\u7528\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001<a href=\"http:\/\/code.google.com\/p\/cocoahttpserver\/downloads\/list\">Downloads - cocoahttpserver - Project Hosting on Google Code<\/a>\u304b\u3089iPhoneHTTPServer3.zip\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308c\u3070\u3088\u3044\u3088\u3046\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2010\/06\/download.jpg\"><img decoding=\"async\" src=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2010\/06\/download-480x278.jpg\" alt=\"\" title=\"download\" width=\"480\" height=\"278\" class=\"alignnone size-medium wp-image-603\" \/><\/a><\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089zip\u30d5\u30a1\u30a4\u30eb\u3092\u5c55\u958b\u3057\u3001xcode\u3067\u30d3\u30eb\u30c9\u3059\u308c\u3070\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u8d77\u52d5\u3059\u308b\u306f\u305a\u3067\u3059(SDK\u304c\u53e4\u3044\u306e\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a\u3067\u305d\u3053\u3060\u3051\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3067\u3059)\u3002\u30b9\u30a4\u30c3\u30c1\u3092\"ON\"\u306b\u3057\u3066Safari\u306a\u3069\u3067URL\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070\u52d5\u4f5c\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30fb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2010\/06\/form.jpg\"><img decoding=\"async\" src=\"https:\/\/softantenna.com\/wp\/wp-content\/uploads\/2010\/06\/form-480x244.jpg\" alt=\"\" title=\"form\" width=\"480\" height=\"244\" class=\"alignnone size-medium wp-image-605\" \/><\/a><\/p>\n<p><strong>\u25a0\u6700\u65b0\u7248\u30bd\u30fc\u30b9\u306e\u5229\u7528<\/strong><br \/>\n\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u30bd\u30fc\u30b9\u306f\u53e4\u3044\u306e\u3067Subversion\u3092\u4f7f\u3063\u3066\u6700\u65b0\u30bd\u30fc\u30b9\u3092\u53d6\u5f97\u3059\u308b\u3088\u3046\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002Subversion\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f7f\u3063\u3066checkout\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n# Non-members may check out a read-only working copy anonymously over HTTP.<br \/>\nsvn checkout http:\/\/cocoahttpserver.googlecode.com\/svn\/trunk\/ cocoahttpserver-read-only\n<\/p><\/blockquote>\n<p><strong>\u25a0\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/strong><br \/>\n\u3053\u306e\u5f8c\u306fMyHTTPConnection.m\u306b\u542b\u307e\u308c\u3066\u3044\u308bhttpResponseForMethod\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u671b\u307f\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3059\u3088\u3046\u4fee\u6b63\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u51e6\u7406\u30fb\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51e6\u7406\u306f\u3059\u3067\u306b\u5b9f\u88c5\u6e08\u307f\u306a\u306e\u3067\u3042\u3068\u306f\u898b\u305f\u76ee\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u3059\u308b\u306a\u3069\u3059\u308c\u3070\u5b9f\u969b\u306b\u4f7f\u7528\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><strong>\u25a0\u307e\u3068\u3081<\/strong><br \/>\niPhone\u30a2\u30d7\u30ea\u958b\u767a\u8005\u306e\u65b9\u3067\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30fb\u30ea\u30b9\u30c8\u30a2\u306b\u4f7f\u3048\u308b\u7d44\u307f\u8fbc\u307f\u53ef\u80fd\u306aHTTP\u30b5\u30fc\u30d0\u30fc\u3092\u63a2\u3057\u3066\u3044\u308b\u65b9\u306f\u4fbf\u5229\u306b\u3064\u304b\u3048\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u3042\u307e\u308a\u7528\u610f\u3055\u308c\u3066\u306a\u3044\u307f\u305f\u3044\u3067\u3059\u304c\u3001\u4e00\u5ea6\u306a\u308c\u3066\u3057\u307e\u3048\u3070\u3044\u308d\u3044\u308d\u306a\u30b7\u30c1\u30e5\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><strong>\u25a0<a href=\"http:\/\/code.google.com\/p\/cocoahttpserver\/\">CocoaHTTPServer<\/a><\/strong><br \/>http:\/\/code.google.com\/p\/cocoahttpserver\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306f\u76ee\u5148\u3092\u5909\u3048\u3066iPhone\u30a2\u30d7\u30ea\u958b\u767a\u8005\u7528\u306eHTTP\u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308b\u300cCocoaHTTPServer\u300d\u3092\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002iPhone\u30a2\u30d7\u30ea\u3068PC\/Mac\u3067\u30c7\u30fc\u30bf\u3092\u3084\u308a\u3068\u308a\u3059\u308b\u5834\u5408\u3001iPhone\u3067HTTP\u30b5\u30fc\u30d0\u30fc\u3092\u8d77 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":600,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[16,15],"tags":[50],"class_list":["post-599","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ipad","category-iphone","tag-cocoahttpserver"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=599"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/599\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/600"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}