I've been trying to figure out to send HTTP requests for the last
couple of hours, and I thought it was how I was specifying the
parameters in the session.send_http_post_to() method. But it's
actually a bug.
..\Sipper-2.0.0\sipper\sipper_http\sipper_http_request_dispatcher.rb,
around line 70 or so in the start() method, there is this block of
code:
<snip>
hdr_arr.each do |k, v|
req[k] = v
end
<snip>
Which loops through a user provided hash of headers for the http
request. When Ruby tries to resolve hdr_arr it blows up because it's
missing the url_context qualifier:
Fixed version:
<snip>
url_context.hdr_arr.each do |k, v|
req[k] = v
end
<snip>
regards,
Dave Adams
--
You received this message because you are subscribed to the Google Groups "Sipper" group.
To post to this group, send email to sip...@googlegroups.com.
To unsubscribe from this group, send email to sipper+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sipper?hl=en.