rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Peter Gumeson <gumeson@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: PostBodyContentTypeParser enhancements
Date: Fri, 21 Aug 2009 23:54:31 -0700 (PDT)	[thread overview]
Message-ID: <efe1e01d-460a-42b0-a265-bcf141c1d3ed@13g2000prl.googlegroups.com> (raw)


I just added support for multi-parameter args and text/json inside
PostBodyContentTypeParser

Content-Type can contain multiple values separated by semi-colons
(i.e. "text/json;charset=utf-8").  Seems the convention is to choose
the first value as the actual media type. Anything I am missing here?

http://github.com/sporkd/rack-contrib/commit/1c1004ccd68a26f39c171fb91f4a33bada7e4333

Peter

                 reply	other threads:[~2009-08-22  8:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=efe1e01d-460a-42b0-a265-bcf141c1d3ed@13g2000prl.googlegroups.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).