Skip to content

Commit

Permalink
Firefox seems to generate an extra CRLF (report from Neil Spring).
Browse files Browse the repository at this point in the history
May help with some picky servers.
  • Loading branch information
nicksieger committed May 23, 2011
1 parent 6cd56ba commit 0af8dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def build_head(boundary, name, filename, type, content_len)
class EpiloguePart
include Part
def initialize(boundary)
@part = "--#{boundary}--\r\n"
@part = "--#{boundary}--\r\n\r\n"
@io = StringIO.new(@part)
end
end
Expand Down

0 comments on commit 0af8dde

Please sign in to comment.