[perldocjp-cvs 667] CVS update: docs/modules/libwww-perl-5.813/HTTP

アーカイブの一覧に戻る

argra****@users***** argra****@users*****
2010年 10月 18日 (月) 20:42:21 JST


Index: docs/modules/libwww-perl-5.813/HTTP/Cookies.pod
diff -u docs/modules/libwww-perl-5.813/HTTP/Cookies.pod:1.1 docs/modules/libwww-perl-5.813/HTTP/Cookies.pod:1.2
--- docs/modules/libwww-perl-5.813/HTTP/Cookies.pod:1.1	Sun Jul  4 19:36:21 2010
+++ docs/modules/libwww-perl-5.813/HTTP/Cookies.pod	Mon Oct 18 20:42:21 2010
@@ -29,8 +29,7 @@
 
 =end original
 
-Or for an empty and temporary cookie jar:
-(TBT)
+あるいは、空の容器や一時的クッキー容器の場合は:
 
   use LWP;
   my $browser = LWP::UserAgent->new;
@@ -46,10 +45,9 @@
 
 =end original
 
-This class is for objects that represent a "cookie jar" -- that is, a
-database of all the HTTP cookies that a given LWP::UserAgent object
-knows about.
-(TBT)
+このクラスは、「クッキー容器」-- これは、与えられた
+LWP::UserAgent オブジェクトが知っている全ての HTTP クッキーのデータベース --
+を表現するためのオブジェクトのためのものです。
 
 =begin original
 
@@ -292,10 +290,11 @@
 
 =end original
 
-Discard all temporary cookies. Scans for all cookies in the jar
-with either no expire field or a true C<discard> flag. To be
-called when the user agent shuts down according to RFC 2965.
-(TBT)
+全ての一時的クッキーを破棄します。
+容器の中から、有効期限フィールドがないか、C<discard> フラグが真の
+クッキーを探します。
+RFC 2965 によれば、ユーザーエージェントがシャットダウンするときに
+呼び出されます。
 
 =item $cookie_jar->scan( \&callback )
 
Index: docs/modules/libwww-perl-5.813/HTTP/Date.pod
diff -u docs/modules/libwww-perl-5.813/HTTP/Date.pod:1.1 docs/modules/libwww-perl-5.813/HTTP/Date.pod:1.2
--- docs/modules/libwww-perl-5.813/HTTP/Date.pod:1.1	Sat Jul  3 03:24:23 2010
+++ docs/modules/libwww-perl-5.813/HTTP/Date.pod	Mon Oct 18 20:42:21 2010
@@ -78,11 +78,11 @@
 
 str2time() 関数は文字列をマシン時刻に変換します。
 もし $str のフォーマットが理解できなければ C<undef> を返し、
-otherwise whatever the
-C<Time::Local> functions can make out of the parsed time.  Dates
-before the system's epoch may not work on all operating systems.
+さもなければ、パースした時刻に対して C<Time::Local> 関数が出力したものを
+返します。
+システムの期限以前の日付は、全てのオペレーティングシステムでは
+動作しないかもしれません。
 理解される時刻フォーマットは parse_date() と同じです。
-(TBT)
 
 =begin original
 
Index: docs/modules/libwww-perl-5.813/HTTP/Headers.pod
diff -u docs/modules/libwww-perl-5.813/HTTP/Headers.pod:1.1 docs/modules/libwww-perl-5.813/HTTP/Headers.pod:1.2
--- docs/modules/libwww-perl-5.813/HTTP/Headers.pod:1.1	Sat Apr 18 21:13:21 2009
+++ docs/modules/libwww-perl-5.813/HTTP/Headers.pod	Mon Oct 18 20:42:21 2010
@@ -83,9 +83,7 @@
 
 =end original
 
-The constructor arguments are passed to the C<header> method which is
-described below.
-(TBT)
+コンストラクタの引数は、後述する C<header> メソッドに渡されます。
 
 =item $h->clone
 
@@ -146,9 +144,8 @@
 
 =end original
 
-最後のヘッダフィールドの古い値が返されます。
-If no such field exists C<undef> will be returned.
-(TBT)
+最後のヘッダフィールドの古い値 (または値) が返されます。
+そのようなフィールドがない場合は、C<undef> が返されます。
 
 =begin original
 
@@ -206,9 +203,8 @@
 
 =end original
 
-As for the header() method, the field name ($field) is not case
-sensitive and '_' can be used as a replacement for '-'.
-(TBT)
+header() メソッドに関しては、フィールド名 ($field) は大文字小文字は
+関係なく、'-' の代わりとして '_' が使えます。
 
 =begin original
 
@@ -232,9 +228,8 @@
 
 =end original
 
-Set the specified header to the given value, but only if no previous
-value for that field is set.
-(TBT)
+指定されたヘッダにすでに値がセットされていない場合のみ、与えられた値を
+セットします。
 
 =begin original
 
@@ -243,9 +238,8 @@
 
 =end original
 
-The header field name ($field) is not case sensitive and '_'
-can be used as a replacement for '-'.
-(TBT)
+ヘッダフィールド名 ($field) は大文字小文字は関係なく、'-' の代わりとして
+'_' が使えます。
 
 =begin original
 
@@ -254,9 +248,7 @@
 
 =end original
 
-The $value argument may be a scalar or a reference to a list of
-scalars.
-(TBT)
+$value 引数は、スカラか、スカラのリストへのリファレンスが取れます。
 
 =item $h->remove_header( $field, ... )
 
@@ -275,9 +267,8 @@
 
 =end original
 
-The header field names ($field) are not case sensitive and '_'
-can be used as a replacement for '-'.
-(TBT)
+ヘッダフィールド名 ($field) は大文字小文字は関係なく、'-' の代わりとして
+'_' が使えます。
 
 =begin original
 
@@ -286,9 +277,8 @@
 
 =end original
 
-The return value is the values of the fields removed.  In scalar
-context the number of fields removed is returned.
-(TBT)
+返り値は、削除されたフィールドの値です。
+スカラ古今テキストでは、削除されたフィールドの数が返されます。
 
 =begin original
 
@@ -297,9 +287,8 @@
 
 =end original
 
-Note that if you pass in multiple field names then it is generally not
-possible to tell which of the returned values belonged to which field.
-(TBT)
+複数のフィールド名を渡した場合、返り値の内どれがどのフィールドの
+値であったかを知ることは一般的にはできないことに注意してください。
 
 =item $h->remove_content_headers
 
@@ -327,9 +316,8 @@
 
 =end original
 
-The return value is a new C<HTTP::Headers> object that contains the
-removed headers only.
-(TBT)
+返り値は、削除されたヘッダのみを含む新しい
+C<HTTP::Headers> オブジェクトです。
 
 =item $h->clear
 
@@ -339,8 +327,7 @@
 
 =end original
 
-This will remove all header fields.
-(TBT)
+これは全てのヘッダフィールドを削除します。
 
 =item $h->header_field_names
 
@@ -363,8 +350,7 @@
 
 =end original
 
-In scalar context return the number of distinct field names.
-(TBT)
+スカラコンテキストでは重複を除いたフィールド名の数を返します。
 
 =item $h->scan( \&process_header_field )
 
@@ -396,10 +382,9 @@
 
 =end original
 
-Any return values of the callback routine are ignored.  The loop can
-be broken by raising an exception (C<die>), but the caller of scan()
-would have to trap the exception itself.
-(TBT)
+コールバックルーチンからの返り値は全て無視されます。
+ループは例外 (C<die>) の発生によって終了する場合がありますが、
+scan() の呼び出し元は例外を自分自身でトラップする必要があります。
 
 =item $h->as_string
 
@@ -452,8 +437,7 @@
 これらのメソッドはヘッダの値を読むこと設定することの両方に使うことできます。
 メソッドに引数を渡せばヘッダの値が設定されます。
 ヘッダの古い値は常に返されます。
-If the given header did not exist then C<undef> is returned.
-(TBT)
+与えられたヘッダが存在しない場合は、C<undef> が返されます。
 
 =begin original
 
@@ -557,10 +541,8 @@
 
 返される値は小文字に変換され、潜在的なパラメータが切り落とされ、
 配列コンテキストであれば、分けられた値として返されます。
-If there is no such header field, then the empty
-string is returned.
+そのようなヘッダフィールドがない場合、空文字列が返されます。
 これは以下のようにすることを安全にします:
-(TBT)
 
   if ($h->content_type eq 'text/html') {
      # we enter this place even if the real header value happens to
@@ -697,9 +679,8 @@
 
 =end original
 
-The "Free On-line Dictionary of Computing" as this to say about the
-word I<referer>:
-(TBT)
+"Free On-line Dictionary of Computing" では、I<referer> について
+以下のように書かれています:
 
      <World-Wide Web> A misspelling of "referrer" which
      somehow made it into the {HTTP} standard.  A given {web
@@ -841,13 +822,11 @@
 
 =end original
 
-The header field name spelling is normally canonicalized including the
-'_' to '-' translation.  There are some application where this is not
-appropriate.  Prefixing field names with ':' allow you to force a
-specific spelling.  For example if you really want a header field name
-to show up as C<foo_bar> instead of "Foo-Bar", you might set it like
-this:
-(TBT)
+ヘッダフィールド名は、通常('_' から '-' への変換を含めて)正規化されます。
+これが適切でないアプリケーションもあります。
+フィールド名の先頭に ':' を付けることで、正規化しないようにすることができます。
+例えば、もし "Foo-Bar" ではなく本当に C<foo_bar> というフィールド名の
+ヘッダにしたい場合は、以下のようにします:
 
   $h->header(":foo_bar" => 1);
 
@@ -859,10 +838,9 @@
 
 =end original
 
-These field names are returned with the ':' intact for
-$h->header_field_names and the $h->scan callback, but the colons do
-not show in $h->as_string.
-(TBT)
+これらのフィールド名は、$h->header_field_names と $h->scan の
+コールバックではそのまま ':' 付きで返されますが、
+$h->as_string ではコロンは表示されません。
 
 =head1 COPYRIGHT
 
Index: docs/modules/libwww-perl-5.813/HTTP/Negotiate.pod
diff -u docs/modules/libwww-perl-5.813/HTTP/Negotiate.pod:1.1 docs/modules/libwww-perl-5.813/HTTP/Negotiate.pod:1.2
--- docs/modules/libwww-perl-5.813/HTTP/Negotiate.pod:1.1	Sun Jul  4 19:36:21 2010
+++ docs/modules/libwww-perl-5.813/HTTP/Negotiate.pod	Mon Oct 18 20:42:21 2010
@@ -98,13 +98,11 @@
 =end original
 
 配列コンテキストでは、choose() は
-[variant identifier, calculated quality, size]
-識別子/計算されたクォリティの組の変数のリストを返します。
-最も高いクオリティを先頭に、値はクオリティによりソートされます。
-計算されたクォリティが2つの変数で同じであれば、サイズによりソートされます
-(小さい方が先)。
-例:
-(TBT)
+[識別子, 計算されたクォリティ, サイズ] の組のリストを返します。
+これはクオリティ (高いクオリティが先) によりソートされます。
+計算されたクォリティが 2 つの変数で同じであれば、サイズにより
+ソートされます(小さい方が先)。
+I<例>:
 
   (['var1', 1, 2000], ['var2', 0.3, 512], ['var3', 0.3, 1024]);
 
Index: docs/modules/libwww-perl-5.813/HTTP/Response.pod
diff -u docs/modules/libwww-perl-5.813/HTTP/Response.pod:1.2 docs/modules/libwww-perl-5.813/HTTP/Response.pod:1.3
--- docs/modules/libwww-perl-5.813/HTTP/Response.pod:1.2	Fri Jul  2 03:41:17 2010
+++ docs/modules/libwww-perl-5.813/HTTP/Response.pod	Mon Oct 18 20:42:21 2010
@@ -114,11 +114,10 @@
 
 =end original
 
-This is used to get/set the code attribute.  The code is a 3 digit
-number that encode the overall outcome of a HTTP response.  The
-C<HTTP::Status> module provide constants that provide mnemonic names
-for the code attribute.
-(TBT)
+これはコード属性を取得/設定するために使われます。
+コードは、HTTP レスポンスの結果をエンコードした 3 桁の 10 進数です。
+C<HTTP::Status> モジュールは、コード属性に対する覚えやすい名前を示す
+定数を提供します。
 
 =item $r->message
 
@@ -131,9 +130,8 @@
 
 =end original
 
-This is used to get/set the message attribute.
+これはメッセージ属性を取得/設定するために使われます。
 メッセージは短く、人が読める、応答コードを説明する 1 行の文字列です。
-(TBT)
 
 =item $r->header( $field )
 
@@ -148,11 +146,10 @@
 
 =end original
 
-This is used to get/set header values and it is inherited from
-C<HTTP::Headers> via C<HTTP::Message>.  See L<HTTP::Headers> for
-details and other similar methods that can be used to access the
-headers.
-(TBT)
+これはヘッダの値を取得/設定するために使われるもので、
+C<HTTP::Headers> から C<HTTP::Message> 経由で継承されたものです。
+詳細や、ヘッダにアクセスするために使えるその他の似たような
+メソッドについては L<HTTP::Headers> を参照してください。
 
 =item $r->content
 
@@ -315,8 +312,7 @@
 
 =end original
 
-If none of these sources provide an absolute URI, undef is returned.
-(TBT)
+これらのソースのいずれも絶対 URI を提供していない場合、undef が返されます。
 
 =begin original
 



perldocjp-cvs メーリングリストの案内
アーカイブの一覧に戻る