Details

      Description

      {html}<div><p>ANDROID HTTPCLIENT BUG!<br>
      Source:
      android/modules/network/src/ti/modules/titanium/network/TiHTTPClient.java</p>
      <p>In line <a href="/projects/32238/tickets/625" title=
      "Ticket #625">#625</a> should be: <em>response</em> object instead
      of <em>request</em>:</p>
      <pre>
      <code>public String getAllResponseHeaders() {
      String result = "";
      if (readyState >= READY_STATE_HEADERS_RECEIVED)
      {
      StringBuilder sb = new StringBuilder(1024);</code>
      </pre>
      <p>*===> Header[] headers = request.getAllHeaders();</p>
      <pre>
      <code> int len = headers.length;
      for(int i = 0; i < len; i++) { Header h = headers[i]; sb.append(h.getName()).append(":").append(h.getValue()).append("\n"); }
      result = sb.toString();
      } else { // Spec says return ""; }

      return result;
      }</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              dthorp Don Thorp
              Reporter:
              android3000 Android3000
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-2052
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration