Date: 2008-04-29 20:59
Sender: Philip Tsai
Looks like the problem is in __fetch(query) method.
Specifically, in this block:
np.start { |http|
response = http.get(GM_LNK_GMAIL + "&"
+ query,{'Cookie' => @cookie_str,'User-agent' => GM_USER_AGENT
})
inbox = response.body
p "response:#{response}; body=#{response.body}"
}
Here is the output:
"response:#<Net::HTTPOK:0x7f206d0c>;
body=<script>top.location=\"https://www.goo
gle.com/accounts/ServiceLogin?service=mail&passive=true&r
m=false&continue=https%
3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3D1%26nsr%3D1<mpl=de
fault<mplcache=2\
";</script>"
Looks like GMail now returns a redirect unaccounted by __fetch?
|