Eu tenho um servidor web, tentei ajustar o cabeçalho Range
como:
curl https://192.168.122.183 -kv --header "Range: bytes=999-"
Então, eu recebo o código de erro (416):
< HTTP/1.1 416 Requested Range Not Satisfiable
< Date: Tue, 05 Dec 2017 13:47:30 GMT
< Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
< Public-Key-Pins-Report-Only: pin sha256="Jh0ZSUYEc97HRYcwZIOkH2jKOUpmQhLO48MYd1s5pRM="; pin-sha256="2ZnCTNQBrKShr4c1olKfwNG53KiL6qoNcQi65YGRBn8="; pin-sha256="1D76xWwHug9p4iQWVBiDZF+e3UcxtPte/ig5pkYnmRU="; max-age=300; report-uri="https://protonmail.com/pkp-report"
< X-Frame-Options: deny
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Public-Key-Pins-Report-Only: pin-sha256="Jh0ZSUYEc97HRYcwZIOkH2jKOUpmQhLO48MYd1s5pRM="; pin-sha256="2ZnCTNQBrKShr4c1olKfwNG53KiL6qoNcQi65YGRBn8="; pin-sha256="1D76xWwHug9p4iQWVBiDZF+e3UcxtPte/ig5pkYnmRU="; max-age=300; report-uri="https://protonmail.com/pkp-report"
< X-Frame-Options: deny
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>416 Requested Range Not Satisfiable</title>
</head><body>
<h1>Requested Range Not Satisfiable</h1>
<p>None of the range-specifier values in the Range request-header field overlap the current extent of the selected resource.</p>
</body></html>
* Connection #0 to host 192.168.122.183 left intact
Como você pode ver, os seguintes cabeçalhos são duplicados:
< X-Frame-Options: deny
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
Eu não consigo entender por que alguém já teve esse caso antes?
Eu não tenho nenhuma duplicação de cabeçalho em um 200, ou até mesmo um 404. Ele só ocorre em um 416.
Tags apache-httpd