'EOFError: end of file reached' on HEROKU while posting UTF-8 via SSL
问题 I've got strange bug on heroku. To reproduce it I have to make big (over few KB) HTTPS POST with any UTF-8 characters in request body. Here is an example: require "net/https" require "uri" #Accutally I've ecountered this bug while posting to another server url = URI.parse("https://api.heroku.com/myapps") #It's Ukrainian 'oiced velar plosive G' letter payload = "ґ"*10000 request = Net::HTTP::Post.new(url.path) request.body = payload http = Net::HTTP.new(url.host, url.port) http.use_ssl = true