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 ..
- All posts
- Helpful Solutions
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.
- IMPORTANT ANNOUNCEMENT: We’re going through some system changes, that may have slowed responses to your questions. If you had asked a question in the last couple of months, please re-post it and the community will help you as soon as we can. If you’ve registered after February 7th, please register again, the accounts on the previous site were not migrated to this temporary site. If you joined us before February 7, please reset your password if you have trouble logging into this temporary site.