@@ -26,7 +26,7 @@ def disposition(params)
2626 "#{ disposition 'name' => 'baz' , 'filename' => file . filename } #{ crlf } " ,
2727 "Content-Type: #{ file . content_type } #{ crlf } " ,
2828 "#{ crlf } #{ file } #{ crlf } " ,
29- "--#{ boundary_value } --"
29+ "--#{ boundary_value } --#{ crlf } "
3030 ] . join ( "" )
3131 end
3232
@@ -44,7 +44,7 @@ def disposition(params)
4444 "#{ disposition 'name' => 'baz' , 'filename' => file . filename } #{ crlf } " ,
4545 "Content-Type: #{ file . content_type } #{ crlf } " ,
4646 "#{ crlf } #{ file } #{ crlf } " ,
47- "--my-boundary--"
47+ "--my-boundary--#{ crlf } "
4848 ] . join ( "" )
4949 end
5050 end
@@ -61,7 +61,7 @@ def disposition(params)
6161 "#{ disposition 'name' => 'foo' } #{ crlf } " ,
6262 "Content-Type: #{ part . content_type } #{ crlf } " ,
6363 "#{ crlf } s#{ crlf } " ,
64- "--#{ boundary_value } --"
64+ "--#{ boundary_value } --#{ crlf } "
6565 ] . join ( "" )
6666 end
6767 end
@@ -77,7 +77,7 @@ def disposition(params)
7777 "--#{ boundary_value } #{ crlf } " ,
7878 "#{ disposition 'name' => 'foo' } #{ crlf } " ,
7979 "#{ crlf } s#{ crlf } " ,
80- "--#{ boundary_value } --"
80+ "--#{ boundary_value } --#{ crlf } "
8181 ] . join ( "" )
8282 end
8383 end
0 commit comments