Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Include link to RFC3875 (CGI 1.1 specification) #352

Closed
wants to merge 1 commit into from

4 participants

@jordansissel

... and the section describing how headers are to be translated into HTTP_xxx names.

This link defines important behaviors not described in the Rack SPEC, including:

  • dash to underscore translation
  • uppercase-ness
  • that multi-value headers must be rewritten to single-value with the same semantics (presumably as described in RFC2616 section 4.2)
@lgierth

You lost a T :>

@jordansissel

haha, oops. Github's editor behaves strangely at a non-default font size ;)

@jordansissel

Fixed, diff looks right now.

@gioele

Humble suggestion: could the anchor point to the HTML version of the RFC at https://tools.ietf.org/html/rfc3875? The HTML version is much pleasant to read and navigate.

@jordansissel jordansissel Include link to RFC3875 (CGI 1.1 specification)
This is to help describe how headers are to be translated into HTTP_xxx
names.
03cac34
@jordansissel

Pointed to the html version with an anchor that points to the right section :)

I also updated the branch to be only one commit (no more typo fix commit)

@raggi
Owner

SPEC is a generated file...

@raggi raggi closed this in 9c0c41d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. @jordansissel

    Include link to RFC3875 (CGI 1.1 specification)

    jordansissel authored
    This is to help describe how headers are to be translated into HTTP_xxx
    names.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  SPEC
View
2  SPEC
@@ -49,7 +49,7 @@ below.
variables should correspond with
the presence or absence of the
appropriate HTTP header in the
- request.
+ request. See <a href="https://tools.ietf.org/html/rfc3875#section-4.1.18">RFC3875 section 4.1.18</a> for specific behavior.
In addition to this, the Rack environment must include these
Rack-specific variables:
<tt>rack.version</tt>:: The Array [1,1], representing this version of Rack.
Something went wrong with that request. Please try again.