搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox will not load certain url's/websites that work in other browsers

  • 4 回覆
  • 3 有這個問題
  • 3 次檢視
  • 最近回覆由 billpleo

more options

Whenever I try to load a website beginning with stk.co (e.g. stks.co/q1CqL ) Firefox gives the following error message:

The HTTP header field "Accept" with value "hc/url;*/*" could not be parsed.

The same URL loads easily in Internet Explorer and other browsers.

How can fix this and/or configure firefox to load this url?

Thanks!

Whenever I try to load a website beginning with stk.co (e.g. stks.co/q1CqL ) Firefox gives the following error message: The HTTP header field "Accept" with value "hc/url;*/*" could not be parsed. The same URL loads easily in Internet Explorer and other browsers. How can fix this and/or configure firefox to load this url? Thanks!

被選擇的解決方法

You might have the "Accept" header customized from the default. Here's one place to check:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste accep and pause while the list is filtered

(3) If the network.http.accept.default preference is bolded and marked as user set, it has been modified from the default.

You could right-click > copy the preference and then paste it somewhere for safekeeping -- in case there is a good reason for it being customized, then right-click > Reset it to see whether that helps.

If it has not been modified from the default, one of your extensions or a proxy service may be modifying it on the fly.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

billpleo said

Whenever I try to load a website beginning with stk.co

stk.co doesn't load at all, and stk.com redirects to agi.com.

e.g. stks.co/q1CqL

The link works fine for me. It goes to tinyurl.com, then to traderfeed.blogspot.com. I'm using Firefox 35 on Windows 8.1.

more options

選擇的解決方法

You might have the "Accept" header customized from the default. Here's one place to check:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste accep and pause while the list is filtered

(3) If the network.http.accept.default preference is bolded and marked as user set, it has been modified from the default.

You could right-click > copy the preference and then paste it somewhere for safekeeping -- in case there is a good reason for it being customized, then right-click > Reset it to see whether that helps.

If it has not been modified from the default, one of your extensions or a proxy service may be modifying it on the fly.

more options

Just for documentation, here's what I see in the Fiddler debugging proxy for this shortened URL:

(1) Firefox requests: http://stks.co/q1CqL

GET http://stks.co/q1CqL HTTP/1.1
Host: stks.co
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

Response is a 301 redirect with a new address

(2) Firefox requests: http://tinyurl.com/lkef9l2

GET http://tinyurl.com/lkef9l2 HTTP/1.1
Host: tinyurl.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

Response is a 301 redirect with a new address

(3) Firefox requests http://traderfeed.blogspot.com/2014/12/trading-success-lies-on-other-side-of.html

GET http://traderfeed.blogspot.com/2014/12/trading-success-lies-on-other-side-of.html HTTP/1.1
Host: traderfeed.blogspot.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

Response is 200 OK with HTML of the page

more options

Jefferson,

Wow, thanks!

You hit the nail on the head.

Reset to default. Works fine now. I'll keep an eye out for something that alter it in the future.

Thanks again.