# Webrick $B$N(B Content-Range $B$K$D$$$F(B

**URL:** <https://www.ruby-forum.com/t/webrick-b-n-b-content-range-b-k-d-f-b/75077>\
**Category:** Development\
**Created:** [November 7, 2006, 11:09am UTC](https://www.ruby-forum.com/t/webrick-b-n-b-content-range-b-k-d-f-b/75077 "2006-11-07T11:09:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SASAKI\_Shunsuke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@SASAKI\_Shunsuke](https://www.ruby-forum.com/u/SASAKI_Shunsuke)\
**Post date:** [November 7, 2006, 11:09am UTC](https://www.ruby-forum.com/t/webrick-b-n-b-content-range-b-k-d-f-b/75077/1 "2006-11-07T11:09:06Z")

</div>

e$B:4!9LZ$H?=$7$^$9!#e(B

Webrick e$B$GLdBj$i$7$-J\*$r8+$D$1$^$7$?!#e(B

lib/webrick/httpservlet/filehandler.rb:110(1.8.5e$B$N\>l9ge(B) e$B$N!"e(B  
res[‘content-range’] = "#{first}-#{last}/#{filesize}"e$B$O!"e(B  
e$B@5$7$/$O!"e(Bres[‘content-range’] = “bytes  
#{first}-#{last}/#{filesize}”  
e$B$8$c$J$$$G$7$g$&$+!)e(B

[http://www.ponix.org/~eruchan/diary/20061107.html](http://www.ponix.org/~eruchan/diary/20061107.html)  
ponichannel-0.0.1.tar.gz e$B$H$$$&4J0W7?e(B 2ch BBS e$B$J$s$G$9$,!“e(B  
OpenJane e$B$H$$$&e(B 2ch e$B%V%i%&%6$r;H$C$F!”=q$-9~$_$r$7$?8e!"e(B  
e$B=q$-9~$_$rFI$^$J$/$J$j$^$9!#e(B  
2ch e$B%V%i%&%6$O?7$7$$=q$-9~$\_$N8!=P$Ke(B Content-Range  
e$B$r;H$C$F$$$^$9!#e(B  
e$B$5$i$C$H$0$0$C$?$@$1$J$N$G4V0c$C$F$$$k$+$b$7$l$^$;$s$,!"e(B  
HTTP e$B$N;EMM$G$O!"e(BContent-Range e$B$O@hF,$Ke(B  
e$B%l%s%8C10L$H$7$Fe(B  
bytes e$B$r=q$+$J$$$H$$$1$J$$$h$&$G$9!#e(B

---- SASAKI Shunsuke ----
