[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: hydra.nixos.org server config problem with text/xml]
From: |
Vincent Lefevre |
Subject: |
address@hidden: hydra.nixos.org server config problem with text/xml] |
Date: |
Wed, 7 Aug 2013 12:53:13 +0200 |
User-agent: |
Mutt/1.5.21-6305-vl-r59709 (2013-04-16) |
Hi,
I still get the following error.
----- Forwarded message from Vincent Lefevre <address@hidden> -----
Date: Mon, 22 Jul 2013 15:50:20 +0200
From: Vincent Lefevre <address@hidden>
To: address@hidden
Subject: hydra.nixos.org server config problem with text/xml
Hi,
When the web browser accepts text/xml, HTTP requests fail.
For instance:
xvii:~> wget -S --header='Accept: text/xml' http://hydra.nixos.org/
--2013-07-22 15:46:07-- http://hydra.nixos.org/
Resolving hydra.nixos.org (hydra.nixos.org)... 130.161.158.181,
2001:610:685:1::1
Connecting to hydra.nixos.org (hydra.nixos.org)|130.161.158.181|:80...
connected.
HTTP request sent, awaiting response...
HTTP/1.1 400 Bad Request
Date: Mon, 22 Jul 2013 13:46:07 GMT
Vary: Content-Type,Accept-Encoding
Content-Length: 243
Content-Type: text/plain
Set-Cookie: hydra_session=b6f58debf4047f55a962dc0c3ee8760b60b14637; path=/;
expires=Wed, 24-Jul-2013 13:46:07 GMT; HttpOnly
Connection: close
2013-07-22 15:46:07 ERROR 400: Bad Request.
xvii:~> wget -S --header='Accept: text/xml' http://hydra.nixos.org/eval/955753
--2013-07-22 15:48:08-- http://hydra.nixos.org/eval/955753
Resolving hydra.nixos.org (hydra.nixos.org)... 130.161.158.181,
2001:610:685:1::1
Connecting to hydra.nixos.org (hydra.nixos.org)|130.161.158.181|:80...
connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Mon, 22 Jul 2013 13:48:09 GMT
Vary: Content-Type,Accept-Encoding
Content-Length: 16
Content-Type: text/xml
Set-Cookie: hydra_session=4e0874fff45c68ee3ed6fa25dbc10aae68d475cd; path=/;
expires=Wed, 24-Jul-2013 13:48:09 GMT; HttpOnly
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Length: 16 [text/xml]
Saving to: ‘955753’
100%[======================================>] 16 --.-K/s in 0s
2013-07-22 15:48:09 (93.8 KB/s) - ‘955753’ saved [16/16]
xvii:~> cat 955753
<opt data="" />
The HTML versions are OK.
Note: there are just examples. My Firefox also accepts other MIME types
but prefers text/xml, and things fail due to that.
--
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
----- End forwarded message -----
- address@hidden: hydra.nixos.org server config problem with text/xml],
Vincent Lefevre <=