Mailinglist Archive: opensuse-buildservice (311 mails)

< Previous Next >
Re: [opensuse-buildservice] Weird double download for api pages
  • From: Stefan Brüns <stefan.bruens@xxxxxxxxxxxxxx>
  • Date: Tue, 03 Nov 2009 22:24:49 +0100
  • Message-id: <200911032224.50172.stefan.bruens@xxxxxxxxxxxxxx>
On Tuesday 03 November 2009 20:37:39 Kyrill Detinov wrote:
Tuesday 03 November 2009

On Tuesday 03 November 2009 22:19:18 Luke Imhoff wrote:
When I click on an api.opensuse.org link, say to download a tarball
(https://api.opensuse.org/source/openSUSE:Tools/osc/debian.tar.gz),
Firefox 3.5 (under Ubuntu 9.10) first says it's an HTML web page,
which it prompts to open with Firefox again. When I open the html
page, the normal tarball download then happens.

Is this a bug in Firefox 3.5 or some change in the API?

The same problem is in Opera.

curl -n -I https://api.opensuse.org/source/openSUSE:Tools/osc/debian.tar.gz

HTTP/1.1 200 OK

X-Opensuse-Apiversion: 0.1.2

X-Runtime: 85

Content-Disposition: attachment; filename="debian.tar.gz"

Cache-Control: no-cache

Date: Tue, 03 Nov 2009 21:17:10 GMT

Server: lighttpd/1.5.0

Content-Type: text/html; charset=utf-8

Content-Length: 2122

This seems to be the same for all files downloaded from api.

Stefan

--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
phone: +49 241 53809034 mobile: +49 151 50412019
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >