Quote:
Originally Posted by kovidgoyal
@davidfor: My guess would be Accept-Ranges. You can turn it off easily to test by changing line 676 in http_response.py
|
As m.s said, this didn't help.
To check, I added a print to parse_header_line in http_request.py to see what the request headers. The first is from the dece, the second from Firefox. To me the response headers that the calibre is using should be OK.
Code:
parse_header_line: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
parse_header_line: User-Agent: Mozilla/5.0 (Linux; U; Android 2.0; en-us;) AppleWebKit/538.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/538.1 (Kobo Touch 0370/4.4.9344)
parse_header_line: Accept-Language: en-AU, *;q=0.9
parse_header_line: Host: 10.1.225.111
parse_header_line: Connection: Keep-Alive
parse_header_line: Accept-Encoding: gzip, deflate
parse_header_line:
Device using plugboard epub content_server None
Code:
parse_header_line: Host: 10.1.225.111
parse_header_line: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
parse_header_line: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
parse_header_line: Accept-Language: en-AU,en-US;q=0.7,en;q=0.3
parse_header_line: Accept-Encoding: gzip, deflate
parse_header_line: Referer: http://10.1.225.111/mobile
parse_header_line: Connection: keep-alive
parse_header_line: Upgrade-Insecure-Requests: 1
parse_header_line:
Device using plugboard epub content_server None
I'm doing a packet capture to see what I can see.