I am writing a C++ application and would like to request several data files through a HTTP GET request simultaneously, where should I look to get started (needs to be cross-platform).
Run Application
Create a list of URLs { "http://host/file1.txt", "http://host/file2.txt", "http://host/file3.txt"}
Request all the URLs simultaneously ...
What is the best way to view the HTTP response headers from a request against a particular URL? Telnet or is there some other really good command or tool?
...
I want to modify HTTP requests headers using an Internet Explorer Browser Helper Object.
I basically need to change a few headers for every request, and then modify the response before it returns to the browser.
I tried using the OnNavigate2 events, but those don't even give you access to all of the headers.
I tried making an Asynchron...
I am thinking that this would be an Apache server with some custom pages, or possibly a java application. Used for browser or http client testing, it should give me a variety of 500 errors when a specific page is requested. Give me a page that responds in 5 seconds, 10, 30 or whatever. Give me a page where the first byte does not come...
Currently in my PHP scripts, I redirect the user to a custom 404 not found error page when he/she tries to access content that doesn't exist or doesn't belong to that user. Like so:
header('Location: http://www.mydomain.com/error/notfound/');
exit;
I realize the above header() call sends a 302 redirect status code by default.
What I ...
Is it possible to intercept all requests made by a WebBrowser control?
I want to modify the request URI of every single request (including requests for images, scripts, stylesheets, etc.)
...
First off, I am a newbie when it comes to JMS & ActiveMQ.
I have been looking into a messaging solution to serve as middleware for a message producer that will insert XML messages into a queue via HTTP POST. The producer is an existing system written in C++ that cannot be modified (so Java and the C++ API are out).
Using the "demo" ex...
So i have this URL:
http://test.com/afolder/who-else-wants-to-make-horror-movies%3f/
which is URL encoded version of :
http://test.com/afolder/who-else-wants-to-make-horror-movies?/
But IIS7 throws a 400:
HTTP Error 400.0 - Bad Request ASP.NET
detected invalid characters in the
URL.
But why is it doing that if i have correct...
I feel like an idiot asking this. In fact, after typing the title, StackOverflow barks at me, "That's not a very good title. Can you add some more unique words to it?" No I can't, SO; sorry. Here we go:
We have this software that has a webservices component.
Now, the administrator of this system has come to me, wanting to import data i...
hi......i am new in iphone programming......i want to do an activation module which will send a http request with a PIN numbr and then read the response...if the response is "OK" it opens up with a main menu...........the problem is that i am recieving the response as "OK" but i am unable to compare it with a NSString @"OK"............so...
Is there any formal restriction as to which characters are allowed in URL parameter names?
I've been reading RFC3986 ("Uniform Resource Identifier (URI): Generic Syntax") but came to no definitive conclusion.
I know there are practical limitations, but would it actually be forbidden to do something like:
param with\funny<chars>=some_v...
Almost any working PHP programmer has faced having to use CURL to send raw HTTP requests, whether it's for credit card payment processing, nefarious screen scraping, or something in-between.
Almost any forum where PHP programmers congregate has a large number of people who can't get the cURL functions to do what they want.
When cURL is...
When a browser sends an HTTP request to a web server, what encoding is used to encode the HTTP protocol on the wire? Is it ASCII? UTF8? or UTF16? Or does it specify which encoding it uses in a predefined format (before any decoding takes place?)
P.S
I'm not asking about the actual payload (e.g. HTML) of the request/response. I'm asking ...
Hi,
Is it possible to send a Http header via a URL connection in java? I had this working using sockets, but ran into issues with a firewall which don't seem to be a problem with URLConnection. From looking at the API I get the impression that the output methods in URLConnection are just for filling in forms etc, or can they be used to s...
When using an XMLHTTPRequest in javascript, I want to send it to an external website, rather than the one where the .js file is hosted. To send it to test.php on the current server, I would use
request.open("POST", "test.php", true);
but for the second arguemnt, how do I send it to another website. "example.com/test.php" looks for a f...
What does the utmscr and/or utmcct values mean in reference to the Http cookie Server variable? Are they acronyms or short for something?
We are getting Elmah errors with the title "System.Web.HttpException: Unable to validate data." In each Elmah error message, the Http Cookie server variable value contains a property called utmscr s...
I'm issuing the command (line broken for readability):
curl -H"X-RequestIsAbsolutePath: F" \
-T /tmp/out \
-H'Content-Type: application/xml' \
"http://localhost:8182/metadata/036-Rotated.JPG"
I'm sending a message body of XML. I get a complaint from the XML parser on the server about content not being allowed in the prolog. I added ...
I'm looking for a C++ library that implements or enables the implementation of a HTTP client. It should handle cookies as well.
What would you propose?
Thank you in advance for your time.
...
I know how to download an html/txt page. For example :
//Variables
DWORD dwSize = 0;
DWORD dwDownloaded = 0;
LPSTR pszOutBuffer;
vector <string> vFileContent;
BOOL bResults = FALSE;
HINTERNET hSession = NULL,
hConnect = NULL,
hRequest = NULL;
// Use WinHttpOpen to obtain a session handle.
hSession = WinHttpOp...
Is there any difference between the following when a intranet URL in accessed in IE
Add an entry in drivers/etc/host file for a name and IP
vs
Use IP directly
e.g. it works with the following link if I have a host entry as (XYZ 10.0.10.200)
http://XYZ/SiteDirectory/ABC/Default.aspx
but when I tried to use IP instead of name
http://1...