Httpwebresponse Content Length

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beulajo
    New Member
    • Nov 2009
    • 29

    Httpwebresponse Content Length

    Hai,

    How to get Httpwebresponse content length??

    When I give resp.contentlen gth, it gives -1. what could be the problem

    I have a set up called HTTP analyzer, which analyses and gives me the request header and response header, there it returns some value as content length in response string

    But the same thing when I try to get using C#.net, I m not able to get the content length for the same url and credential, I get only -1


    this is the URL i m trying to get content length
    https://accounts.zoho.c om/login?servicena me=ZohoCRM&FROM _AGENT=true

    credential

    username : antoniraj
    password : anto12345
    method : POST


    Can any one help ?

    Thanks in advance..
Working...