Re: HttpWebResponse getting attributes

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

A webresponse do not have any GET attributes, only the WebRequest have
them.

Most probably the page you get will have a link (which in turn may become
the next webrequest ) with the correct GET attributes.

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation



"Nuno Magalhaes" <nunommagalhaes@xxxxxxxxxxx> wrote in message
news:1127387230.719881.118110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> How can I get all the attributes of an HttpWebResponse? I do a request
> to this site: http://pipa.inov.pt/cgi-bin/camera but originaly it comes
> with a PAGE attribute that gives me the time in clock ticks of the
> captured image like this:
> http://pipa.inov.pt/cgi-bin/camera?PAGE=114349432
>
> You can try it: http://pipa.inov.pt/ and it will give a URL like the
> above with the PAGE attribute but my request "ends" on ".../camera".
> How can I get the PAGE attribute... in the header? How can I do this?
>
> Any lights will be appreciated,
> Nuno Magalhaes.
>


.



Relevant Pages

  • Re: http xml post
    ... I'm trying to use webrequest - webresponse. ... trying to get another aspx form to receive the post on local server right ... Using streamwriter to wrap the text in string and send as stream. ...
    (microsoft.public.dotnet.languages.vb)
  • Best Practices for System.Net Classes what?
    ... "The following recommendations will help you use the classes contained in ... Use WebRequest and WebResponse whenever possible instead of type casting to ... it's recommended that you dont type cast to descendant classes - but ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Was mit einem FatalExecutionEngineError anfangen?
    ... ich habe Monaten keine Probleme beim Programmieren meiner Anwendung ... Die Laufzeit hat einen schwerwiegenden Fehler entdeckt. ... WebRequest myWebRequest = WebRequest.Create; ... WebResponse myWebResponse = ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • webresponse.close hangs.
    ... I am facing very strange problem while using webrequest. ... using webrequest and webresponse. ... WebRequest myWebRequest= WebRequest.Create; ... I tried with same url using asynchronous web request. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: WebRequest: only get info about file, not download the file?
    ... Joerg Jooss schrieb: ... WebResponse on the WebRequest to get the ContentLength: ... A HEAD request is similar to a GET request, but the server will not send a HTTP body, only the headers. ...
    (microsoft.public.dotnet.framework)