You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/07/21 13:49:41 UTC

[whimsy] branch master updated: Add server detail

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 9fad9c2  Add server detail
9fad9c2 is described below

commit 9fad9c27b288de6ecfe36efc73c5df3f1f5affe8
Author: Sebb <se...@apache.org>
AuthorDate: Tue Jul 21 14:49:32 2020 +0100

    Add server detail
---
 tools/pubsub2rake.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pubsub2rake.rb b/tools/pubsub2rake.rb
index 084183d..fdc8635 100755
--- a/tools/pubsub2rake.rb
+++ b/tools/pubsub2rake.rb
@@ -33,7 +33,7 @@ class PubSub
           request.basic_auth *creds if creds
           http.request request do |response|
             response.each_header do |h,v|
-              puts stamp [h,v].inspect if h.start_with? 'x-'
+              puts stamp [h,v].inspect if h.start_with? 'x-' or h == 'server'
             end
             body = ''
             response.read_body do |chunk|