follow.it server sends different content & content-type header for Firefox and Chrome
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: feedbro.reader, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Steps to reproduce:
- Open URL view-source:https://follow.it/giardiniblog in normal Firefox tab
- Look at the content markup and inspect the "content-type" header in Network tab
Actual results:
The server responds with header "content-type: text/html;charset=UTF-8" and shows HTML markup. This causes the feed reader to reject the content.
This problem started occurring just recently.
Expected results:
When using Chrome, the server responds correctly with header "content-type: text/xml;charset=UTF-8" and sends proper XML markup.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
This seems like a server problem. Using copy-as-curl in the devtools:
Firefox: text/html
curl 'https://follow.it/giardiniblog' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: cross-site' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -i
Chrome: text/xml
curl 'https://follow.it/giardiniblog' -H 'authority: follow.it' -H 'cache-control: max-age=0' -H 'sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"' -H 'sec-ch-ua-mobile: ?0' -H 'sec-ch-ua-platform: "Linux"' -H 'upgrade-insecure-requests: 1' -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' -H 'sec-fetch-site: none' -H 'sec-fetch-mode: navigate' -H 'sec-fetch-user: ?1' -H 'sec-fetch-dest: document' -H 'accept-language: en-US,en;q=0.9' -i
Removing the Firefox UA from the first command gives you XML.
This is something that is caused by the website. If you think that's a problem I'd contact the follow.it support https://follow.it/contact-us
Description
•