You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Takagi <ta...@x-ics.com> on 2012/04/24 13:18:07 UTC
[users@httpd] How setting byte-range header field?
Hi!
I'm trying to set byte-range header field(iOS require this field in media
playback). But httpd cannot set byte-range field in reponse header.
I wander how do I configure apache configuration file?
version info
# cat /etc/redhat-release
CentOS release 5.8 (Final)
#httpd -v
httpd Apache/2.2.3
TAKAGI Masaya
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How setting byte-range header field?
Posted by Takagi <ta...@x-ics.com>.
Thank you for replying my question, Tom.
I've tried to send byte-range request to indicated URL using curl command
however server reponse doesn't seems to reply properly.
I've tried the following command.
Work not properly.
>curl --range 0-99 http://httpd.apache.org/images/httpd_logo_wide.gif
ex) Work properly.
>curl --range 0-99 http://images.apple.com/jp/home/images/ipad_title.png
Thanks
TAKAGI Masaya
-----Original Message-----
From: Tom Evans
Sent: Tuesday, April 24, 2012 8:26 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] How setting byte-range header field?
2012/4/24 Takagi <ta...@x-ics.com>:
> Hi!
> I'm trying to set byte-range header field(iOS require this field in media
> playback). But httpd cannot set byte-range field in reponse header.
> I wander how do I configure apache configuration file?
>
> version info
> # cat /etc/redhat-release
> CentOS release 5.8 (Final)
> #httpd -v
> httpd Apache/2.2.3
>
> TAKAGI Masaya
Servers normally indicate support for byte range requests by sending
the header Accept-Ranges, which Apache seems to do for me:
> $ wget -S http://httpd.apache.org/images/httpd_logo_wide.gif 2>&1 | grep
> 'Accept-Ranges'
Accept-Ranges: bytes
Cheers
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How setting byte-range header field?
Posted by Tom Evans <te...@googlemail.com>.
2012/4/24 Takagi <ta...@x-ics.com>:
> Hi!
> I'm trying to set byte-range header field(iOS require this field in media
> playback). But httpd cannot set byte-range field in reponse header.
> I wander how do I configure apache configuration file?
>
> version info
> # cat /etc/redhat-release
> CentOS release 5.8 (Final)
> #httpd -v
> httpd Apache/2.2.3
>
> TAKAGI Masaya
Servers normally indicate support for byte range requests by sending
the header Accept-Ranges, which Apache seems to do for me:
> $ wget -S http://httpd.apache.org/images/httpd_logo_wide.gif 2>&1 | grep 'Accept-Ranges'
Accept-Ranges: bytes
Cheers
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org