e$BEDCf$5$s!"$3$s$K$A$O!#e(B
e$BEDCf$5$s$,:n$C$?$H$F$bJXMx$Je(B open-uri e$B$r;H$*$&$H$7$?$H$3$m!“e(B
e$B5$$K$J$C$?$3$H$,0l$D$”$j$^$7$?!#e(Bcharset e$B$H$$$&e(B method
e$B$Ge(B
e$B<!$NDL$j$K=q$$$F$"$j$^$9e(B:
If charset parameter and block is not given, nil is returned except text
type in HTTP. In that case, “iso-8859-1” is returned as defined by
RFC2616 3.7.1.
e$BLdBj$O!“@>2$$J$I0J30$N$H$3$me(B (e$BF|K$b4^$ae(B)
e$B$G$O$3$l$OA4A3DLMQ$7$J$$$G$9!#e(B
e$B$7$+$b!”%?%$%W$,e(B text/xml e$B$de(B text/hoge+xml
e$B$J$I$N>l9g$K$OB(DjCM$,e(B US-ASCII
e$B$K$J$C$F$$$^$9!#e(B(RFC http://www.ietf.org/rfc/rfc3023.txt
e$B;2>He(B)
e$B$=$&$9$k$H<B:]$K;H$$$?$$$H;W$C$?$iFbItE*$J%a%>%I$K<j$r=P$9$+!“<+J,$G$J$K$+e(B
e$B$r:n$k$+$7$+$”$j$^$;$s!#@'Hse(B open-uri
e$B$NB(DjCM$rJQ99$7$F!&30$7$Fe(B
e$B$$$?$@$-$?$$$G$9$,!"$$$+$,$G$9$+!#e(B
e$B%Q%C%A$OL$$@=q$$$F$J$$$G$9$,!"$=$l$GLdBj$,2r7h$7$?$i4n$s$G=q$$$F$_$^$9!#e(B
e$B@'Hs$H$b59$7$/$*4j$$$7$^$9!#e(B Martin.
P.S.:
e$B$3$N7o$O@h$[$Ie(B HTTP e$B$N%a!<%j%s%0%j%9%H$K$bJs9p$7$^$7$?!#e(B
http://lists.w3.org/Archives/Public/ietf-http-wg/2007OctDec/0018.html
P.P.S.:
e$B!V$3$N;EMM=q$N$3$NItJ,$O?.$8$F$$$$$G$9$,!“$3$N$H$3$m$O?.$8$F$@$a$G$9!We(B
e$B$H$$$C$F$/$k$d$D$N$O$J$+$J$+?.$8Fq$$$+$H;W$$$^$9$,!”;DG0$J$,$i!"e(B
e$B;EMM=q$b?M4V$,:n$C$?$b$N$@$1$G$9!#e(B
#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:[email protected]