Permalink
Browse files

fixed http://code.google.com/p/mochiweb/issues/detail?id=42

--HG--
extra : convert_revision : svn%3A583d1f64-3c3e-0410-8459-0f15fcd77d59/trunk%40103
  • Loading branch information...
1 parent 48af4cf commit ce19cd897b0e85075b0e64e36f4c84db0a1debb8 bob.ippolito committed Aug 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mochiweb_request.erl
View
2 src/mochiweb_request.erl
@@ -191,7 +191,7 @@ stream_body(MaxChunkSize, ChunkFun, FunState) ->
stream_body(MaxChunkSize, ChunkFun, FunState, MaxBodyLength) ->
- case get_header_value("expect") of
+ case string:to_lower(get_header_value("expect")) of
"100-continue" ->
start_raw_response({100, gb_trees:empty()});
_Else ->

0 comments on commit ce19cd8

Please sign in to comment.