#77 ✓hold
Vincent

status code

Reported by Vincent | July 22nd, 2008 @ 10:05 PM | in Future

First, I want congratulate you for have made a fast server. I am glad to use Thin with nginx instead of mongrel :)

A short example is more relevant for explain my problem...

GET /test HTTP/1.0

HTTP/1.1 200 OK
Server: nginx/0.7.1
Date: Sun, 20 Jul 2008 12:15:07 GMT
Content-Type: text/html
Connection: close

Status: 500 Internal Server Error
Content-Type: text/html

<html><body><h1>500 Internal Server Error</h1></body></html>

The page is returned with status 200, it should be 500. I think it's a Thin problem because when I look at the Nginx debug log:

2008/07/20 14:17:34 [debug] 27541#0: *239 http proxy status 200 "200 OK"
2008/07/20 14:17:34 [debug] 27541#0: *239 http proxy header: "Content-Type: text/html"
2008/07/20 14:17:34 [debug] 27541#0: *239 http proxy header: "Connection: close"
2008/07/20 14:17:34 [debug] 27541#0: *239 http proxy header: "Server: thin 0.8.2 codename Double Margarita"
2008/07/20 14:17:34 [debug] 27541#0: *239 http proxy header done

Thanks

Vincent

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Tags

Pages