https://bugzilla.wikimedia.org/show_bug.cgi?id=26834

--- Comment #6 from Paul <[email protected]> 2011-01-21 10:31:06 UTC ---
(In reply to comment #3)
> What does format=jsonfm give?

A normal HTML page loads. It says "You are looking at the HTML representation
of the JSON format[...]" and below the JSON search results. I just tried
format=xml, that works. I opened Firebug to check what Headers are send, but in
case of format=json it shows nothing, maybe because firefox is directly trying
to download the page.

(In reply to comment #4)
> I don't see why this is an issue. The same thing applies to HTTP connections.
> The fact that the browser does not open it, is caused by the content-type that
> we send along (something like application/json or whatever).

No, sorry, the problem is: In HTTP, the api works fine with the wikipedia
searchplugin in firefox. if I change the url in the wikipedia searchplugin's
xml file to the HTTPS url, it doesn't work anymore. And to check that I use the
right URL, I just typed it into the browser directly. There I noticed, that in
HTTP the browser just shows the json, in HTTPS tries to download it. Maybe it
has nothing to do with my problem, but I thought there could be a link.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to