X
Tap here to go to the mobile version of the site.

Support Forum

What is HttpFox using to display in the Content tab

Posted

I'm working on code using HttpURLConnection to a web server and one web page that logs off from the web server sends a POST to the web server and I get an http 200 back, but the header "Connection" says "close" and the Content-Length has a value .. but I don't get anything from trying to read from the HttpURLConnection.getInputStream() ... and I think thats becuase the connection is closed.

When I watch this http request/response using HttpFox .. i see all the same values as above, except the Content tab in HttpFox shows basically the html web page I want to display to the end user.

So I am trying to figure out what I need to access on the HttpURLConnection to get to that data that HtpFox is showing in the Content tab ..

I'm working on code using HttpURLConnection to a web server and one web page that logs off from the web server sends a POST to the web server and I get an http 200 back, but the header "Connection" says "close" and the Content-Length has a value .. but I don't get anything from trying to read from the HttpURLConnection.getInputStream() ... and I think thats becuase the connection is closed. When I watch this http request/response using HttpFox .. i see all the same values as above, except the Content tab in HttpFox shows basically the html web page I want to display to the end user. So I am trying to figure out what I need to access on the HttpURLConnection to get to that data that HtpFox is showing in the Content tab ..

Additional System Details

Application

  • User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)

More Information

cor-el
  • Top 10 Contributor
  • Moderator
12919 solutions 118469 answers

Helpful Reply

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum. *http://forums.mozillazine.org/viewforum.php?f=25 The helpers at that forum are more knowledgeable about web development issues.<br> You need to register at the MozillaZine forum site in order to post at that forum.