rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Ryan Tomayko <r@tomayko.com>
To: rack-devel@googlegroups.com
Subject: Re: Missing HTTP reason phrase
Date: Thu, 25 Feb 2010 16:15:35 -0800	[thread overview]
Message-ID: <f732822d1002251615p5a8be51er2fe472fbbbdeb286@mail.gmail.com> (raw)
In-Reply-To: <201002252014.40569.ibc@aliax.net>

On Thu, Feb 25, 2010 at 11:14 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:
> El Jueves, 25 de Febrero de 2010, Florian Munz escribió:
>> without the space, as far as I can tell (didn't look at it with
>> Wireshark):
>>
>> $ curl -I http://www.qype.co.uk/
>> HTTP/1.1 200
>> Server: nginx
>> Date: Thu, 25 Feb 2010 17:22:29 GMT
>
> I've checked it and there is no space after status code (200) so the HTTP
> response is invalid according to HTTP SBNF grammar.

Each Rack server handler manages writing the HTTP response onto the
wire, so I it's something you'd have to fix in whatever server
implementation you're using. It's possible, but unlikely, that the bad
response writing logic is in the Rack handler.

Thanks,
Ryan

  reply	other threads:[~2010-02-26  0:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 16:01 Missing HTTP reason phrase Florian Munz
2010-02-25 16:35 ` Iñaki Baz Castillo
2010-02-25 17:23   ` Florian Munz
2010-02-25 19:14     ` Iñaki Baz Castillo
2010-02-26  0:15       ` Ryan Tomayko [this message]
2010-03-01 15:34         ` Florian Munz
2010-03-01 18:03           ` Christian Neukirchen
2010-03-01 18:10             ` Iñaki Baz Castillo
2010-03-01 18:11               ` Magnus Holm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f732822d1002251615p5a8be51er2fe472fbbbdeb286@mail.gmail.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).