ktats****@users*****
ktats****@users*****
2011年 4月 30日 (土) 04:20:39 JST
Index: docs/modules/Furl-0.24/lib/Furl/HTTP.pod diff -u docs/modules/Furl-0.24/lib/Furl/HTTP.pod:1.3 docs/modules/Furl-0.24/lib/Furl/HTTP.pod:1.4 --- docs/modules/Furl-0.24/lib/Furl/HTTP.pod:1.3 Sat Feb 12 13:00:35 2011 +++ docs/modules/Furl-0.24/lib/Furl/HTTP.pod Sat Apr 30 04:20:39 2011 @@ -410,7 +410,7 @@ =begin original -=item Why IO::Socket::SSL? +(=item Why IO::Socket::SSL?) =end original @@ -422,14 +422,14 @@ Net::SSL ã¯ããã¥ã¡ã³ãã貧弱ã§ãã -=item env_proxy ã¯ãªããªãã·ã§ãã«ãªã®ã§ãã? - =begin original -=item Why is env_proxy optional? +(=item Why is env_proxy optional?) =end original +=item env_proxy ã¯ãªããªãã·ã§ãã«ãªã®ã§ãã? + =begin original Environment variables are highly dependent on each users' environment, @@ -440,14 +440,14 @@ ç°å¢å¤æ°ã¯ã¦ã¼ã¶ã¼ã®ç°å¢ã«å¼·ãä¾åãã¾ãã ãã¾ãåããªãã¨ãã«ã¦ã¼ã¶ã¼ãæ··ä¹±ããã¾ãã -=item ãµãã¼ããã¦ãããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã¯? - =begin original -=item What operating systems are supported? +(=item What operating systems are supported?) =end original +=item ãµãã¼ããã¦ãããªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã¯? + =begin original Linux 2.6 or higher, OSX Tiger or higher, Windows XP or higher. @@ -464,14 +464,14 @@ ããªããããããéãã°ãä»ã®ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ããµãã¼ããããã§ãããã -=item ãªãFurlã¯ãã£ã³ã¯ãããã¢ãããã¼ãããµãã¼ãããªãã®ã§ãã? - =begin original -=item Why doesn't Furl support chunked upload? +(=item Why doesn't Furl support chunked upload?) =end original +=item ãªãFurlã¯ãã£ã³ã¯ãããã¢ãããã¼ãããµãã¼ãããªãã®ã§ãã? + =begin original There are reasons why chunked POST/PUTs should not be used in general. @@ -506,14 +506,14 @@ ãããã®è¦å ã§ãã£ã³ã¯ããããªã¯ã¨ã¹ãã使ãã®ã¯äºå®ä¸ä¸å¯è½ã§ã(ãµã¼ããHTTP/1.1ããµãã¼ããã¦ããã¨ããã£ã¦ããªããã°)ã ãã®ããããã®æ©è½ã®ãµãã¼ãã¯é«ããã©ã¤ãªãªãã£ã§ã¯ããã¾ããã -=item å°éããã¬ã¹ãã³ã¹ã®å 容ãã©ã®ããã«ä½ãã¾ãã? - =begin original -=item How do you build the response content as it arrives? +(=item How do you build the response content as it arrives?) =end original +=item å°éããã¬ã¹ãã³ã¹ã®å 容ãã©ã®ããã«ä½ãã¾ãã? + =begin original You can use L<IO::Callback> for this purpose. @@ -533,14 +533,14 @@ $furl->put( "http://127.0.0.1:$port/", [ 'Content-Length' => $len ], $fh, ); -=item gzip/deflate å§ç¸®ãããã³ãã¥ãã±ã¼ã·ã§ã³ã使ãã¾ãã? - =begin original -=item How do you use gzip/deflate compressed communication? +(=item How do you use gzip/deflate compressed communication?) =end original +=item gzip/deflate å§ç¸®ãããã³ãã¥ãã±ã¼ã·ã§ã³ã使ãã¾ãã? + =begin original Add an B<Accept-Encoding> header to your request. Furl inflates response bodies transparently according to the B<Content-Encoding> response header. @@ -549,14 +549,14 @@ B<Accept-Encoding>ãããããªã¯ã¨ã¹ãã«è¿½å ãã¦ãã ãããFurlã¬ã¹ãã³ã¹ããã£ã¼ãB<Content-Encoding>ã¬ã¹ãã³ã¹ãããã«å¾ã£ã¦ééçã«ã¤ã³ãã¬ã¼ããã¾ãã -=item mutipart/form-data ã使ãã«ã¯? - =begin original -=item How do you use mutipart/form-data? +(=item How do you use mutipart/form-data?) =end original +=item mutipart/form-data ã使ãã«ã¯? + =begin original You can use multipart/form-data with L<HTTP::Request::Common>. @@ -587,14 +587,14 @@ ããããéããã¨ãã§ãããªããL<Furl>ã§ãã¤ãã£ãã®multipart/form-dataãµãã¼ãã¯å©ç¨å¯è½ã§ãã -=item Kee-Alive ãã©ããã£ã¦ä½¿ãã®ãã¨HEADã¡ã½ããã§ã¯ä½ãèµ·ããã®ã? - =begin original -=item How do you use Keep-Alive and what happens on the HEAD method? +(=item How do you use Keep-Alive and what happens on the HEAD method?) =end original +=item Kee-Alive ãã©ããã£ã¦ä½¿ãã®ãã¨HEADã¡ã½ããã§ã¯ä½ãèµ·ããã®ã? + =begin original Furl supports HTTP/1.1, hence C<Keep-Alive>. However, if you use the HEAD @@ -645,14 +645,14 @@ ãããã«ãããHEADã¡ã½ããã¯ãä»æ¥ã§ã¯ããããªã«æç¨ã§ã¯ããã¾ãããGETã¡ã½ãã㨠C<If-Modified-Sinse>ã®ã»ããHTTPã³ã³ãã³ãããã£ãã·ã¥ããã®ã«åã£ã¦ãã¾ãã -=item ãªãFurlã¯ã¿ã¤ã ã¢ã¦ãã¨ã©ã¼ãè¿ãã¾ã§æå®ããé·ããããã®ã§ãã? - =begin original -=item Why does Furl take longer than specified until it returns a timeout error? +(=item Why does Furl take longer than specified until it returns a timeout error?) =end original +=item ãªãFurlã¯ã¿ã¤ã ã¢ã¦ãã¨ã©ã¼ãè¿ãã¾ã§æå®ããé·ããããã®ã§ãã? + =begin original Although Furl itself supports timeout, some underlying modules / functions do not. And the most noticeable one is L<Socket::inet_aton>, the function used for name resolution (a function that converts hostnames to IP addresses). If you need accurate and short timeout for name resolution, the use of L<Net::DNS::Lite> is recommended. The following code snippet describes how to use the module in conjunction with Furl.