Welcome! Log In Create A New Profile

Advanced

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

Maxim Dounin
June 10, 2014 03:38PM
Hello!

On Tue, Jun 10, 2014 at 02:49:58PM -0400, Thaxll wrote:

> Hi,
>
> I'm using Nginx to serve a file called crossdomain.xml, that file is used by
> Flash client to allow socket crossdomain Policy. It's a trick that many
> people are using instead of having a dedicated app to server that file. The
> trick is to return that xml file when nginx get a bad request. Since a
> recent version ( 1.4.7+ ) it seems that a bad request replies include HTTP
> headers and therefore breaking the Flash client ( instead of returning only
> the data without headers ). Is there a way to remove those headers? Also I
> searched in the changelog and didn't find any hints about that change?

Quote from http://nginx.org/en/CHANGES, changes with nginx 1.5.5:

*) Change: now nginx assumes HTTP/1.0 by default if it is not able to
detect protocol reliably.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

400 bad requests now returning http headers? ( crossdomain.xml )

Thaxll June 10, 2014 02:49PM

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

Maxim Dounin June 10, 2014 03:38PM

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

Thaxll June 10, 2014 04:07PM

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

Maxim Dounin June 11, 2014 04:22PM

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

Eberton June 15, 2014 08:12PM

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

abyvatel November 27, 2017 10:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready