Welcome to the "trac"-ing site of http-access2!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 248 for trunk/bench

Show
Ignore:
Timestamp:
12/25/08 23:28:16 (1 year ago)
Author:
nahi
Message:
  • cosmetic.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bench/bm_upload.rb

    r244 r248  
    11require 'bm_common' 
    2  
    3 require 'multipart' 
     2try_require 'multipart' 
    43 
    54url = ARGV.shift or raise 
     
    9392=end 
    9493 
    95   if defined?(Net::HTTP) 
     94  if defined?(Net::HTTP) and defined?(Net::HTTP::FileForPost) 
    9695    bm.report('Net::HTTP + multipart') do 
    9796      do_threads(threads) {