Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ce19cd897b0e85075b0e64e36f4c84db0a1debb8 1 parent 48af4cf
bob.ippolito authored
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 ->
Please sign in to comment.
Something went wrong with that request. Please try again.