Skip to content
Browse files

Merge pull request #125 from lyk0rian/dav-rework

Fixed PUT method with chunked transfer encoding.
  • Loading branch information...
2 parents e72a28f + eb46ae9 commit 099453a7a0107acf8a0444e999a7ead9315d7fe1 @vinoski vinoski committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yaws_dav.erl
View
2 src/yaws_dav.erl
@@ -111,7 +111,7 @@ put(SC, ARG) ->
try
case H#headers.content_length of
undefined ->
- Chunked = H#headers.transfer_encoding == "chunked",
+ Chunked = yaws:to_lower(H#headers.transfer_encoding) == "chunked",
case H#headers.connection of
"close" when Chunked == false->
store_client_data(Fd, CliSock, all, SSL);

0 comments on commit 099453a

Please sign in to comment.
Something went wrong with that request. Please try again.