Jasim A Basheer
Jasim A Basheer
+1. I'll also be happy if there was an option to disable opening of a default tab when opening a new window.
+1 Alternatives: 1) Cache the culprit for a project till a new build is received. 2) Config to disable the culprit altogether 3) Both 2 and 3.
@jgierer12 Apologies for the slow response. You're right. The infix notation example is confusing - we'll remove it. Thanks!
@ludwig-vaan This is great, thanks! It might be nicer to have all the answers in the master branch itself. Let me think about it and merge it in a few...
We're leaving this PR open for folks who want to see the answers. Many thanks to @ludwig-vaan. We're working on a new iteration of the course. It'll have online interactive...
Also shouldn't the hashes too match even if the order of the query parameters are different? Uri.new("http://localhost:3000/type=bottle&owner=kai").hash should == Uri.new("http://localhost:3000/owner=kai&type=bottle").hash
It seems Net/HTTP in Ruby 1.9 handles compression transparently. The docs are at http://ruby-doc.org/ruby-1.9/classes/Net/HTTP.html The patch that does it is at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/12693
Net/HTTP Ruby 1.9 : Compression is enabled only when the Get method is called. Wrest uses the Request method for fine grained control. - For Get requests, we can direct...
Ref: http://stackapps.com/questions/1330/get-user-data-using-curb-in-ruby The StackOverflow URL given in the below code snippet always return gzip encoded response (irrespective of whether 'accept-encoding: gzip' is specified or not) ``` require 'net/http' require 'uri'...
I'm wondering whether there is a use case for directly obtaining the zip without decompression. There is 'content-disposition: attachment' to send/receive zip files.