I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1018279, because we’ve had 
this happen more than once. I’m not sure a better way around it, other than 
trying to convince the world that User Agent blocking is rather pointless.

Andy



On May 30, 2014, at 9:09 AM, Rob Hudson <chud...@mozilla.com> wrote:

> $ curl -i http://pedropablo.org/manifest.webapp
> HTTP/1.1 200 OK
> Server: nginx
> Date: Fri, 30 May 2014 16:05:26 GMT
> Content-Type: application/x-web-app-manifest+json
> Content-Length: 260
> Connection: keep-alive
> Last-Modified: Wed, 28 May 2014 09:56:09 GMT
> Accept-Ranges: bytes
> 
> {
>  "name": "turgr",
>  "description": "Turismo cultural en Granada",
>  "launch_path": "/index.html",
>  "icons": {
>    "128": "/imagemovil/i128.png"
> 
>  },
>  "developer": {
>    "name": "phgwpi",
>    "url": "http://pedropablo.org";
>  },
>  "default_locale": "en”
> }
> 
> With:
> 
> $ curl -i -H "User-Agent: python-requests/1.2.0" 
> http://pedropablo.org/manifest.webapp
> HTTP/1.1 302 Found
> Server: nginx
> Date: Fri, 30 May 2014 16:05:37 GMT
> Content-Type: text/html; charset=iso-8859-1
> Transfer-Encoding: chunked
> Connection: keep-alive
> Location: http://error.hostinger.eu/403.php?
> 
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>302 Found</title>
> </head><body>
> <h1>Found</h1>
> <p>The document has moved <a 
> href="http://error.hostinger.eu/403.php?";>here</a>.</p>
> 
> 
> </body></html>

_______________________________________________
dev-webapps mailing list
dev-webapps@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to