reassign 790482 mirrors
retitle 790482 ftp2.de.d.o serves bzip2 instead of plain-text / 404
thanks

Hi,

I am reassigning this old (but still reproducible) bug to the mirror
team as I assume they can help with getting ftp2.de.d.o to tweak their
configuration or at least help forward it.

I am quoting Eduard's mail in full below for the mirror team's
convenience and my reproduction attempt is appended below that mail.

Thanks,
~Niels


On Sat, 22 Aug 2015 15:49:27 +0200 Eduard Bloch <e...@gmx.de> wrote:
> Hallo,
> * Raphael Geissert [Sat, Aug 22 2015, 01:16:44AM]:
> > Hi,
> > 
> > How is this relevant to ftp master?
> > 
> > APT does the right thing in order to cope with those mirrors that
> > happen to have apache multiviews enabled.
> 
> Huh? I was not talking about APT. I also don't think it's an apache
> problem, I blame nginx for this crap.
> 
> I reported this bug here since I assumed that the maintainers here are
> doing some basic QA work and can dispatch the issue accordingly.
> 
> And regarding multiview, see below. Even when I set Accept-Encoding: to
> identity, this does not change a thing. You might argue that 
> SHOULD!=MUST but it's still a broken way to handle this situation, IMHO.
> 
> | If an Accept-Encoding field is present in a request, and if the server
> | cannot send a response which is acceptable according to the
> | Accept-Encoding header, then the server SHOULD send an error response
> | with the 406 (Not Acceptable) status code.
> 
> GET /debian/dists/unstable/main/i18n/Translation-de HTTP/1.1
> User-Agent: Wget/1.16.3 (linux-gnu)
> Accept: */*
> Accept-Encoding: identity
> Host: ftp2.de.debian.org
> Connection: Keep-Alive
> 
> HTTP/1.1 200 OK
> Server: nginx/1.6.2
> Date: Sat, 22 Aug 2015 13:29:00 GMT
> Content-Type: application/x-bzip2
> Content-Length: 1832158
> Connection: keep-alive
> Content-Location: Translation-de.bz2
> Vary: negotiate
> TCN: choice
> Last-Modified: Sat, 25 Apr 2015 03:14:16 GMT
> ETag: "1bf4de-51483e868b200;51de294049878"
> Accept-Ranges: byte
> 
> Regards,
> Eduard.
> 
> -- 
> <charolastra> argumentum ad populum?
> <Ganneff> argentum ad wirhabengenugdavonum
> 
> 

My reproduction attempt today:

> $ curl -vH 'Accept-Encoding: identity' 
> http://ftp2.de.debian.org/debian/dists/unstable/main/i18n/Translation-de  
> -o/dev/null
> [...]
> > GET /debian/dists/unstable/main/i18n/Translation-de HTTP/1.1
> > Host: ftp2.de.debian.org
> > User-Agent: curl/7.58.0
> > Accept: */*
> > Accept-Encoding: identity
> > 
> < HTTP/1.1 200 OK
> < Server: nginx/1.10.3
> < Date: Mon, 21 May 2018 10:57:52 GMT
> < Content-Type: application/x-bzip2
> < Content-Length: 1642052
> < Connection: keep-alive
> < Content-Location: Translation-de.bz2
> < Vary: negotiate
> < TCN: choice
> < Last-Modified: Mon, 21 May 2018 03:51:56 GMT
> < Accept-Ranges: bytes
> < 

Reply via email to