Commits

Kevin Smith  committed 28776e7 Merge

Merging

  • Participants
  • Parent commits 00c9541, 09548d2

Comments (0)

Files changed (3)

File apps/riak/src/raw_http.hrl

 -define(HEAD_LINK,            "Link").
 -define(HEAD_ENCODING,        "Content-Encoding").
 -define(HEAD_CLIENT,          "X-Riak-ClientId").
--define(HEAD_USERMETA_PREFIX, "X-Riak-Meta-").
+-define(HEAD_USERMETA_PREFIX, "x-riak-meta-").
 
 %% Names of JSON fields in bucket properties
 -define(JSON_PROPS,   <<"props">>).

File apps/riak/src/raw_http_resource.erl

     lists:filter(fun({K,_V}) ->
                     lists:prefix(
                         ?HEAD_USERMETA_PREFIX,
-                        any_to_list(K))
+                        string:to_lower(any_to_list(K)))
                 end,
                 mochiweb_headers:to_list(wrq:req_headers(RD))).
 

File apps/webmachine/src/webmachine_request.erl

 	{"100-continue", _} ->
 	    send(PassedState#wm_reqstate.socket, 
 		 [make_version(wrq:version(RD)),
-                  make_code(100), <<"\r\n">>]);
+                  make_code(100), <<"\r\n\r\n">>]);
 	_Else ->
 	    ok
     end,