Permalink
Browse files

the number of crlf on 100-continue shall be 2, and 2 shall be the num…

…ber of crlf (thanks, marc)
  • Loading branch information...
1 parent ef1d5bf commit 1fbcbad1d6a32a17476479b75a67099b7064cc3c Bryan Fink committed Feb 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/webmachine_request.erl
@@ -383,7 +383,7 @@ recv_stream_body(PassedState=#wm_reqstate{reqdata=RD}, MaxHunkSize) ->
{"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,

0 comments on commit 1fbcbad

Please sign in to comment.