Created
May 5, 2010 07:08
-
-
Save koichiro/390474 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 1256a3ece94f appengine-apis/lib/appengine-apis/urlfetch.rb | |
--- a/appengine-apis/lib/appengine-apis/urlfetch.rb Tue May 04 10:42:56 2010 -0700 | |
+++ b/appengine-apis/lib/appengine-apis/urlfetch.rb Wed May 05 16:07:24 2010 +0900 | |
@@ -142,7 +142,7 @@ | |
if payload | |
if headers["Content-Length"].to_i != payload.size | |
- headers["Content-Length"] = payload.size | |
+ headers["Content-Length"] = payload.size.to_s | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment