Revision bc393f5e

b/src/gr/grnet/pithos/web/client/Helpers.java
82 82
                final int statusCode = response.getStatusCode();
83 83
                final String statusText = response.getStatusText();
84 84
                Pithos.LOG("  ", statusCode, " ", statusText);
85

  
86
                final String body = response.getText();
87
                if(body != null && body.trim().length() > 0) {
88
                    final String s = body.trim().substring(0, 120);
89
                    Pithos.LOG(body, body.length() <= 120 ? "" : " ...");
90
                }
91

  
85 92
                final Header[] headers = response.getHeaders();
86 93
                for(Header header : headers) {
87 94
                    final String name = header.getName();

Also available in: Unified diff