[Bug:trunk] rubyspec: Net::HTTPHeader#content_range returns a Range object that represents the 'Con

[email protected]$5$se(B
e$B1sF#$G$9!#e(B

class C
include Net::HTTPHeader
def initialize
initialize_http_header({})
end
end
c = C.new
c[“Content-Range”] = “bytes 0-499/1234”
p c.content_range

e$B$N=PNO$,!"e(Br26344 e$B$NA0$Oe(B 0…500 e$B$G!"8e$Oe(B 0…499
e$B$K$J$C$F$$$^$9!#e(B
e$BNc$K$h$C$Fe(B rubyspec e$B$,8+$D$1$F$/$l$^$7$?!#e(B

e$B$3$l$O%P%[email protected]$G$7$g$&$+!#e(B
e$B%P%[email protected][email protected]$H$7$F!"$=$N=EMWEY$d1F6A$O$I$NDxEY$G$7$g$&$+!#e(B
e$BMW$9$k$K!"e(B1.8.7
e$B$d$=$l0JA0$K%P%C%/%]!<%[email protected]$H;W$$$^$9$+!#e(B
e$BKNIt$5$s$,H=CG$K:$$C$F$$$^$7$?!#e(B

[email protected]$G$9!#e(B

At Sat, 30 Jan 2010 01:10:11 +0900,
Yusuke ENDOH wrote in [ruby-dev:40244]:

e$B$N=PNO$,!"e(Br26344 e$B$NA0$Oe(B 0…500 e$B$G!"8e$Oe(B 0…499 e$B$K$J$C$F$$$^$9!#e(B
e$BNc$K$h$C$Fe(B rubyspec e$B$,8+$D$1$F$/$l$^$7$?!#e(B

e$B$3$l$O%P%[email protected]$G$7$g$&$+!#e(B

e$B%P%[email protected]$G$9!#e([email protected],e(B500bytee$B$G$9$,!"e(Bstr[0…500]
e$B$ND9$5$Oe(B501bytee$B$J$N$G!"[email protected]$i$+$KL7=b$7$F$$$^$9!#e(B

e$B%P%[email protected][email protected]$H$7$F!"$=$N=EMWEY$d1F6A$O$I$NDxEY$G$7$g$&$+!#e(B
e$BMW$9$k$K!"e(B1.8.7 e$B$d$=$l0JA0$K%P%C%/%]!<%[email protected]$H;W$$$^$9$+!#e(B
e$BKNIt$5$s$,H=CG$K:$$C$F$$$^$7$?!#e(B

e$B>/$J$/$H$bE:IU%i%$%V%i%j$de(BGoogle Code
Searche$B$G$O!"e(Bcontent_range
e$B$r;H$C$F$$$kNc$O8+$D$1$i$l$^$;$s$G$7$?!#$[$H$s$I;HMQ$5$l$J$$%a%=%Ce(B
e$B%I$J$N$G=EMWEY$ODc$$$H$b1F6A$O>/[email protected]$($k$H;W$$$^$9!#e(B

e$B%A%1%C%He(B #2688 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B

e$B1sF#$G$9!#e(B

e$B$3$N7o$Oe(B rubyspec e$BB&[email protected]$7$?$N$Ge(B close e$B$7$^$9!#e(B


Yusuke E. [email protected]

http://redmine.ruby-lang.org/issues/show/2688

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs