Simulate a request for a picture. The request header contains range, but why is there no content-range field returned?

WBOY
Release: 2016-08-29 08:50:48
Original
1197 people have browsed it

This is the request header

<code>GET http://subversion.apache.org/images/windows.png HTTP/1.1
Host: subversion.apache.org
Range: 1000-3000
Content-Length: 14
Pragma: no-cache
</code>
Copy after login
Copy after login

This is the response header

<code>HTTP/1.1 200 OK
Date: Sun, 28 Aug 2016 01:33:56 GMT
Server: Apache/2.4.7 (Ubuntu)
Last-Modified: Thu, 14 Jan 2010 21:29:52 GMT
ETag: "1403-47d2696640237"
Accept-Ranges: bytes
Content-Length: 5123
Content-Type: image/png
Cache-Control: no-cache
</code>
Copy after login
Copy after login

He directly returned a complete picture. As expected, it should be a partial picture

Reply content:

This is the request header

<code>GET http://subversion.apache.org/images/windows.png HTTP/1.1
Host: subversion.apache.org
Range: 1000-3000
Content-Length: 14
Pragma: no-cache
</code>
Copy after login
Copy after login

This is the response header

<code>HTTP/1.1 200 OK
Date: Sun, 28 Aug 2016 01:33:56 GMT
Server: Apache/2.4.7 (Ubuntu)
Last-Modified: Thu, 14 Jan 2010 21:29:52 GMT
ETag: "1403-47d2696640237"
Accept-Ranges: bytes
Content-Length: 5123
Content-Type: image/png
Cache-Control: no-cache
</code>
Copy after login
Copy after login

He directly returned a complete picture. As expected, it should be a partial picture

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template