On Tue, Apr 30, 2019 at 4:58 AM Felipe Gasper <fel...@felipegasper.com> wrote:
> > On Apr 29, 2019, at 9:29 PM, Doug Bell <d...@preaction.me> wrote: > >> On Apr 29, 2019, at 9:26 AM, Felipe Gasper <fel...@felipegasper.com> > wrote: > >> > >> http://api.cpantesters.org/docs/?url=3D/v3 > >> > >> ^^ It looks like this URL isn’t giving a Content-Type header, > >> which makes Firefox want to download something when I click on “API > Documentation”. > >> > > > > Where's that link from? The correct link is > http://api.cpantesters.org/docs/?url=/v3 <- yours has a "3D" in there, > almost like a broken %-encoded character > > Enh, that’s probably from an earlier email that bounced because I included > a screenshot. > > The URL you pasted breaks, too. > My Firefox is more forgiving, but I can confirm there's no content-type header: $ wget -S http://api.cpantesters.org/docs/?url=/v3 --2019-04-30 05:09:28-- http://api.cpantesters.org/docs/?url=/v3 Resolving api.cpantesters.org (api.cpantesters.org)... 151.101.86.49 Connecting to api.cpantesters.org (api.cpantesters.org)|151.101.86.49|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Server: Mojolicious (Perl) Access-Control-Allow-Headers: Content-Type, X-Requested-With Access-Control-Max-Age: 3600 Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS Access-Control-Allow-Origin: * ETag: "616b00de465eb79fde4a58e3cc573969" Last-Modified: Sun, 27 Nov 2016 02:23:47 GMT Content-Length: 4246 Accept-Ranges: bytes Date: Tue, 30 Apr 2019 03:09:28 GMT Via: 1.1 varnish Age: 24 Connection: keep-alive X-Served-By: cache-bma1620-BMA X-Cache: HIT X-Cache-Hits: 1 X-Timer: S1556593769.703273,VS0,VE6 Length: 4246 (4.1K) Saving to: ‘index.html?url=%2Fv3’ index.html?url=%2Fv3 100%[============================================================================================================>] 4.15K --.-KB/s in 0s 2019-04-30 05:09:28 (207 MB/s) - ‘index.html?url=%2Fv3’ saved [4246/4246] $ Eirik