YourPaste - For your paste! Archive - Tools - Login

Posted by unknown on Mon 8 Mar 2010 19:54 233 views - Syntax: Diff - Expires: never - Report - IMG - Download -

  1. Index: C:/Users/J. M. Bogaard/Desktop/svn/ICTTools.net/trunk/ICTTools.NET/tools/HTTPHeadersTool/HTTPHeadersControl.cs
  2. ===================================================================
  3. --- C:/Users/J. M. Bogaard/Desktop/svn/ICTTools.net/trunk/ICTTools.NET/tools/HTTPHeadersTool/HTTPHeadersControl.cs      (revision 112)
  4. +++ C:/Users/J. M. Bogaard/Desktop/svn/ICTTools.net/trunk/ICTTools.NET/tools/HTTPHeadersTool/HTTPHeadersControl.cs      (working copy)
  5. @@ -135,26 +135,22 @@
  6.          }
  7.  
  8.          private Int32 onHeaders(Byte[] buf, Int32 size, Int32 nmemb, Object extraData) {
  9. -            if (!cbVerbose.Checked && !_isHttps)
  10. +            if (!cbVerbose.Checked)
  11.                  txtResult.Text += System.Text.Encoding.UTF8.GetString(buf);
  12.  
  13.              return size * nmemb;
  14.          }
  15.  
  16.          private Int32 onBody(Byte[] buf, Int32 size, Int32 nmemb, Object extraData) {
  17. -            if (!cbVerbose.Checked && !_isHttps)
  18. +            if (!cbVerbose.Checked)
  19.                  txtResult.Text += System.Text.Encoding.UTF8.GetString(buf);
  20.  
  21.              return size * nmemb;
  22.          }
  23.  
  24.          public void onDebug(CURLINFOTYPE cInfoType, string debugInfo, Object extraData) {
  25. -            if (debugInfo.Substring(debugInfo.Length -2, 2) != "\r\n")
  26. -                txtResult.Text += debugInfo + "\r\n";
  27. -            else
  28. -                txtResult.Text += debugInfo;
  29. -
  30. -            ToolLog.info("DEBUG: "+ debugInfo);
  31. +            txtResult.Text += debugInfo;
  32. +            ToolLog.info("DEBUG: " + debugInfo);
  33.          }
  34.  
  35.          public static CURLcode onSslContext(SSLContext ctx, Object extraData) {
  36.  

Comments


Name:
Comment:

© 2010 YourPaste.net - Disclaimer