Correct method to extract status code from WWW request's headers?

I’m relatively new to network programming, and I’m using webapp2’s “self.response.status”.

How do I read the response status code from WWW?

I read a thread here
http://stackoverflow.com/questions/33272527/get-unity-www-response-status-code

The answer says “apparently you need to parse it from the response headers yourself.”

Question 1:

Debug.Log(www.responseHeaders["STATUS"])

Printed a “HTTP/1.1 200 OK”
Is that supposed to be in the string, or is the full string supposed to be just “200”?

Question 2:
Response header keys that I set in the server as “health” got recieved by WWW as “HEALTH”, shown when I printed it as follows

foreach(KeyValuePair<string,string> kvp in www.responseHeaders)
    Debug.Log(kvp.key);

Are the responseHeaders keys supposed to be automatically upper-cased?

Question 3:
When it is meaningless to include any value in postData in a www request, what do you suggest I put into www’s constructor’s postData parameter?

Have u got the solution of your question-1? I am also struggling with this and did not got anything.