httpwebresponse Questions
3
Solved
I am writing an application to measure how fast I can download web pages using C#. I supply a list of unique domain names, then I spawn X number of threads and perform HTTPWebRequests until the lis...
Propaedeutic asked 7/12, 2010 at 22:38
4
I am trying to get the header "Set-Cookie" or access the cookie container, but the Set-Cookie header is not available.
The cookie is in the response header, but it's not there in the client reques...
Collimate asked 22/11, 2010 at 18:8
2
Solved
I have a Powershell script that uses System.Net.HttpWebRequest to communicate with a remote host.
I create the request, set properties accordingly and call getresponse() and getresponsestream() t...
Devilish asked 3/3, 2012 at 5:41
2
Solved
I'm trying to use HttpWebRequest and HttpWebResponse in .NET 3.5, running them in asynchronously: BeginGetRequestStream, EndGetRequestStream, BeginWrite, EndWrite, BeginGetResponse, EndGetResponse,...
Shawna asked 5/10, 2011 at 19:0
2
Solved
I'm using Facebook Graph Api and trying to get user data. I'm sending user access token and in case this token is expired or invalid Facebook returns status code 400 and this response:
{
"error":...
Reflation asked 30/9, 2011 at 10:38
3
Solved
I have the following problem. I contact an address which I know employs a 301 redirect.
using HttpWebRequest loHttp = (HttpWebRequest)WebRequest.Create(lcUrl);
and loHttp.AllowAutoRedirect = false...
Vyborg asked 11/12, 2009 at 15:46
0
I'm having a problem connecting to a 3rd party API using the DevDefined OAuth library for C#:
https://github.com/bittercoder/DevDefined.OAuth
The connection has been working fine for over a year ...
Quaquaversal asked 9/8, 2011 at 8:54
3
Solved
So my application is exchanging request/responses with a server (no problems), until the internet connection dies for a couple of seconds, then comes back. Then a code like this:
response = (HttpW...
Rubstone asked 5/8, 2011 at 12:26
2
Solved
In the HTTP response header for my website it is returning a header that contains
the following value.
"Cache-Control: max-age=3600"
Is 3600 in seconds or minutes?
Socha asked 1/8, 2011 at 5:19
1
Related question: WebClient in .Net not releasing socket resources
While debugging a resource leak issue, I noticed that System.Net.WebException (a non-disposable type) contains a reference to Sys...
Esthonia asked 30/3, 2011 at 17:38
2
Solved
Okay so here is the deal. As the question states, I'm trying to POST a file to a webserver and am having a few issues.
I've tried posting this same file to the same webserver using Curl.exe and ha...
Arms asked 2/3, 2010 at 4:5
3
Solved
What's the optimal buffer size to use with a stream from HttpWebResponse.GetResponseStream()?
Online examples vary from 256b to as much as 5Kb. What gives? I guess buffer sizes might be situationa...
Flapdoodle asked 23/4, 2009 at 4:28
2
Solved
Is the HttpWebResponse.LastModified accurate? Is it always present? My project is to create a sort of a focused web crawler and I am stucked if I will use the hash value of a resource or just the H...
Multiplication asked 8/10, 2010 at 4:9
1
Solved
I am wondering how I would go about reading a persistent connection with HttpWebRequest and HttpWebResponse. The problem seems to be that the GetResponseStream() function waits for the server conne...
Plank asked 18/9, 2010 at 17:10
3
Solved
I have an ASP.NET application that I need to show a video feed from a security camera. The video feed has a content type of 'multipart/x-mixed-replace; boundary=--myboundary' with the image data be...
Panegyric asked 13/1, 2010 at 22:59
4
Solved
I'm trying to create an HttpWebRequest/HttpWebResponse session with an ASP.NET website to later parse an HTML form through url params (this part I know how to do), but I do not understand how to pa...
Melanite asked 28/6, 2009 at 21:42
1
Solved
HttpListener - how do I send a WebException HTTP 304 "Not Modified" error back to browser?
How do I mimic a WebException 304 error back to browser if I am using HttpListener?
That is I have received a request to my HttpListener, and then obtained the HttpListenerContext, then from this ...
Engrain asked 9/4, 2010 at 22:8
1
Solved
I have a big problem dealing with data I try to download in my Application over the internet via HttpWebResponse. My code looks like that:
myWebRequest.Timeout = 10000;
using (HttpWebResponse my...
Idelson asked 17/3, 2010 at 13:4
2
Solved
My app currently uses OAuth to communicate with the Twitter API. Back in December, Twitter upped the rate limit for OAuth to 350 requests per hour. However, I am not seeing this. I am still getting...
Blazonry asked 3/3, 2010 at 13:59
3
Solved
Jon Skeet made a comment (via Twitter) on my SOApiDotNet code (a .NET library for the pre-alpha Stack Overflow API):
@maximz2005 One thing I've noticed
just from browsing the source quickly:
you d...
Elrod asked 28/12, 2009 at 8:19
3
Solved
How to let Httpwebresponse ignore the 404 error and continue with it? It's easier than looking for exceptions in input as it is very rare when this happens.
Champaigne asked 7/12, 2009 at 2:44
1
Have been trying to write a program in C# that downloads a file using multiple segments at once like most download managers, and I've run into the issue that the files downloaded are corrupted. E.g...
Multitudinous asked 2/12, 2009 at 7:52
1
Solved
Possible Duplicate:
WebClient vs. HttpWebRequest/HttpWebResponse
I can't guess who is better
HttpWebRequest or webclient
Can you suggest me which one is better in terms of performa...
Hypo asked 1/12, 2009 at 17:31
2
Solved
I am returning a stream in some response setting the appropriate content-type header. The behavior I'm looking for is this:
If the browser is able to render content of the given content type then...
Baton asked 16/11, 2009 at 10:38
1
Solved
Hi am trying to make an application that post data to a joomla login page but the only thing i get back is cookies is not enabled.
Function GetPage(ByVal Url As String) As String
Dim CookieJar As...
Burkley asked 17/10, 2009 at 8:42
© 2022 - 2024 — McMap. All rights reserved.