You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/12 07:21:54 UTC

[22/50] [abbrv] mochiweb commit: updated refs/heads/import-master to 3a54dbf

Initial check-in of APIs for multiple/related supported and incremental replication of only changed attachments. Needs more far more testing and to be hooked up the replicator.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@835981 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/9b22305f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/9b22305f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/9b22305f

Branch: refs/heads/import-master
Commit: 9b22305fc389dbafd5cb7c247163e7d88393b794
Parents: acac89b
Author: Damien F. Katz <da...@apache.org>
Authored: Fri Nov 13 20:38:45 2009 +0000
Committer: Damien F. Katz <da...@apache.org>
Committed: Fri Nov 13 20:38:45 2009 +0000

----------------------------------------------------------------------
 mochiweb_multipart.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/9b22305f/mochiweb_multipart.erl
----------------------------------------------------------------------
diff --git a/mochiweb_multipart.erl b/mochiweb_multipart.erl
index 9eb4bad..b963161 100644
--- a/mochiweb_multipart.erl
+++ b/mochiweb_multipart.erl
@@ -158,7 +158,7 @@ feed_mp(body, State=#mp{boundary=Prefix, buffer=Buffer, callback=Callback}) ->
     end.
 
 get_boundary(ContentType) ->
-    {"multipart/form-data", Opts} = mochiweb_util:parse_header(ContentType),
+    {"multipart/" ++ _, Opts} = mochiweb_util:parse_header(ContentType),
     case proplists:get_value("boundary", Opts) of
         S when is_list(S) ->
             S