Skip to content

Commit

Permalink
fix default value of form data separator
Browse files Browse the repository at this point in the history
  • Loading branch information
catwell committed Jun 4, 2012
1 parent 7ad868f commit dce6ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rufus/verbs/endpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def add_payload (req, opts, &block)
if d
req.body = d
elsif fd
sep = opts[:fd_sep] #|| nil
sep = opts[:fd_sep] || '&'
req.set_form_data fd, sep
elsif block
req.body = block.call req
Expand Down

0 comments on commit dce6ee1

Please sign in to comment.