http

Mail Sending Program & Request Timeout

I was asked to develop an auto-mail sending program on asp.net. It is supposed to send, say 5000 e-mails reading the addresses from a database. It will sure fall into request timeout tough. So it seems I have to convert it into a windows app. But I'd like to know if ajaxifying this web-app would help. If I write a web service, and my web...

Python: How to make multiple HTTP POST queries in one moment?

How to make multiple HTTP POST queries in one moment using Python? Using an external library with an example can be a good solution. ...

In ISAPI, is it possible to set a header to a "the empty string" ?

The documentation for the ISAPI SetHeader function says that using '\0' for the value of the header will delete the header. Q1. Is it possible for an ISAPI filter to set the value of a header to the empty string? How? Q2. Does it even make sense to want to do this? Is it legal in the HTTP protocol to have an empty request header?...

Images can not be found after using mod_rewrite

Hi, In order to make nice and friendly SEO links I'm using this: Options +FollowSymLinks RewriteEngine on RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)\.html$ page.php?ida=$1&idb=$2 [QSA] So http://www.example.com/solutions/hardware.html will be: http://www.example.com/page.php?ida=solutions&idb=hardware This works. But the pro...

What library I can use for sending POST and GET requests in C++?

Possible Duplicate: What C++ library should I use to implement a HTTP client? What library I can use for sending POST and GET requests in C++ ...

ELMAH : Include POST request parameters in error report

I want POST parameters passed in the request to be included in the error report. ...

How do expire values work for cookies and caching?

Expire values have always confused me, since the time settings of the client can be completely different from the server's. I'd like to know how what happens behind the scenes. Say my server's timezone is GMT +1 and the client's timezone is GMT + 2. If I now create a cookie with as expires value: current_timestamp + 31 * 86400 (expire i...

Why does a link with "@" work in my browser but C# HttpWebRequest gives 404 (The remote server returned an error: (405) Method Not Allowed.)

Hi, Anyone have an idea offhand regarding why a link with an "@" in it works on my browser, but when I go to get this particular link in my HttpWebRequest code I get a 405 error? The remote server returned an error: (405) Method Not Allowed. The example link in question: http://internal_link/@api/deki/site/logo.png thanks ...

Django: How to track down a spurious HTTP request ?

I have 3 AJAX functions to move data between a Django app on my website and some JavaScript using YUI in the browser. There is not a major difference between them in terms of their structure, concept, code, etc. 2 of them work fine, but in the 3rd one, I get one spurious HTTP request immediately after the intended request. Its POST data ...

How to set header information

I have a piece of Java code which tries to access the header information posted by an html page.Right now I don't have the html page but I need to access the header information in the java file details.Can anyone please help me in writing a html page which sets header information? ...

Can an attacker take advantage of HTML tag injection in request parameters?

Say I have a web application that accepts a parameter called "content". Whatever is present in this parameter will be output as a part of the HTML response. Example JSP code: <%= request.getParameter("content") %> I know this is silly and it should be sanitized and so on, but my question is if an attacker can actually take advantage ...

HttpRequest, HttpResponse and HttpConfusion!

Hello stackoverflowers, hope you all are doing great. I admit I got kinda confused with Http requests and responses, so I'll begin by presenting my problem. I made a webpage that takes user input, processes it and uses XMLHttpRequest POST to send the processed data to another page and display said data into said page. Now, I can form ...

Convert http headers (string) to a python dictionary

Is there a standard function that will convert http headers into a python dictionary, and one to convert back? They would need to support header folding, of course. ...

Is there any way to check if a POST url exists?

Is there any way to determine if a POST endpoint exists without actually sending a POST request? For GET endpoints, it's not problem to check for 404s, but I'd like to check POST endpoints without triggering whatever action resides on the remote url. ...

Can you set http headers when using HttpRequest object in Silverlight?

I'm having trouble setting any HTTP header values when making a HttpRequest from Silverlight 3.0? Are HTTP Headers supported in Silverlight 3.0? The following code throws an exception when the request callback is called: var url = new Uri("http://lonmw32795/RBSM_Portal_RESTfulWebService/HostInterrogationService.svc/host/enviro...

Why is my HTTP_USER_AGENT not always the same?

When I print my ENV{'HTTP_USER_AGENT'} at the beginning of each of my perl pages, sometimes it says I'm using IE7 and other times it says I'm using IE8. Any idea why? Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CL...

Does Silverlight support setting a proxy for http requests?

Is it possible in Silverlight 3 to set a proxy url for http requests? I want to make a request outside of local network (intranet) and need to set a proxy to do this. ...

Which one is the message and which one the entity in HTTP terminology?

I am trying to make better sense of HTTP internals, and often "entities" and "messages" are mentioned in the specification, strangely enough without proper explanation though, believe it or not. From what I gathered, one identifies the content itself, even when split across a request / response chain and/or transfer encoding fragmentatio...

SSH Port forwarding causes local browser to lose port qualifier ?

We've set up port forwarding so that our users can access the web server on server foo through a SSH tunnel. The port forwarding causes requests to 999 on the local machine to be forwarded to port 80. On their own machine they open the SSH tunnell and then enter into their local browser ... http://localhost:999/d/a.html ... on their ...

unable to get HTTP response code/headers in actionscript 3?

I'm using URLLoader to POST to a server. The xml response from the server can respond with a 404 or a 403 (forbidden) error. However I am unable to get the response codes. Here is the code var urlString:String = "some url"; var urlRequest:URLRequest = new URLRequest(urlString); var loader:URLLoader = new URLLoader(); loader.a...