selenium-webdriver 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ 0.0.26 (2010-07-19)
2
+ ===================
3
+
4
+ * Work around Curb issue: http://github.com/taf2/curb/issues/issue/40
5
+
1
6
  0.0.25 (2010-07-19)
2
7
  ===================
3
8
 
@@ -28,6 +28,11 @@ module Selenium
28
28
 
29
29
  def request(verb, url, headers, payload)
30
30
  client.url = url.to_s
31
+
32
+ # workaround for http://github.com/taf2/curb/issues/issue/40
33
+ # curb will handle this for us anyway
34
+ headers.delete "Content-Length"
35
+
31
36
  client.headers = headers
32
37
 
33
38
  # http://github.com/taf2/curb/issues/issue/33
@@ -61,6 +66,7 @@ module Selenium
61
66
  c.max_redirects = MAX_REDIRECTS
62
67
  c.follow_location = true
63
68
  c.timeout = self.class.timeout if self.class.timeout
69
+ c.verbose = !!$DEBUG
64
70
 
65
71
  c
66
72
  )
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 25
9
- version: 0.0.25
8
+ - 26
9
+ version: 0.0.26
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jari Bakken