i am trying to create a game using the webview method. as of now i have webview fully working. at this time i would like to move my game menu so it would be invoked by pressing the android menu button. eclipse provides me with a template for creating the button, which i have completed, however i cannot seem to link this button to the web...
Hi there, im having trouble setting the Etag on a user's browser reliably. When a user clicks on one of my external links, i would like to set the article id into their Etag (i use cookies too, but id like to experiment with Etag specifically to test its reliability).
When the same user returns to my site a few hours/days later, i woul...
I trying to remove a cookie in a servlet with this code
Cookie minIdCookie = null;
for (Cookie c : req.getCookies()) {
if (c.getName().equals("iPlanetDirectoryPro")) {
minIdCookie = c;
break;
}
}
if (minIdCookie != null) {
minIdCookie.setMaxAge(0);
minIdCookie.setValue("");
minIdCookie.setPath("/");...
How are cookies passed in the HTTP protocol?
...
I would like to expose some data to client applications via HTTP. For example, the client would go to URL: http://mysite.com/books/12345 to obtain data about book 12345. The client could do an HTTP PUT or POST to http://mysite.com/books/54321 to upload data about book 54321. Is this known as a RESTful web service?
I have no idea wher...
we are linking a site over to a slow web service. is it possible to create a jquery animation to show the user that a page is loading? the page isn't on our server.
...
I am trying to use httpclient and I am getting media not supported error.
I want to set the headers and then get the response back which should return me headers which are tokens for authentication
Error: Method failed: HTTP/1.1 415 Unsupported Media Type
The procedure is as follows:
public void getDocument(String url) {
PostMethod...
I'm expanding from perl to C and I'm trying to use curl's library to simply save a file from a remote url but I'm having a hard time finding a good example to work from.
Also, I'm not sure if I should be using curl_easy_recv or curl_easy_perform
...
How can I load a JAR file from a URL in Java while making the request for the file seem legit by adding necessary HTTP Headers into the request.
The only way I know how to maintain the loaded JAR file at the moment is to use ClassLoader.
I think I nailed this question pretty good (Or so it seems that way in my head!) but if anyone need...
Possible Duplicate:
REST api versioning (only version the representation, not the resource itself)
Hello,
So I need to version my restful services. I understand that many place v1 or something similar in the URL to denote use of the "first version" of a resource. My question is, where in the URL should the versioning portio...
Hi All,
I’m writing a small software component in order to download resources from a web Server (IIS).
But it seems like that system's performance is not acceptable. Now I’m planning to increase the number of connection to the web server by spawning multiple threads.
My question is, can I improve performance by using multiple threads?...
can any one please help me to count how many HTTP request has to be made when i open my website Cricket News
I am trying to increase the performance and better loading on all browsers.
1 more questions
1) How many Http Requests is better for better performance?
...
Is it possible for a website to call images that are used in browser themes or plugins?
...
In my project used quick search for character based send request to server , But on time the user fastly type then i got http service error So i want to know how avoid that problem or any possiable to avoid continue request to server or any message queue technical for that problem . kindly give suggestion it's helpful to all
...
How can I use HTTP basic Authentication and have the user submit their Username and Password in a HTML form and have it Authenticate using HTTP Basic Authentication.
I heard that Internet Explorer no longer supports the use of http://user:[email protected] no more so I don't know the best way to approach this.
Use of PHP and javascr...
I'm working on a PHP script which generates large (multi-MB) output on the fly without knowing the length in advance. I am writing directly to php://output via fwrite() and have tried both standard output and using Transfer-Encoding: chunked (encoding the chunks as required) but no matter what I try the browser waits until all the data i...
Overview of the problem: I've been playing with writing custom http server apps for a while now. I found out that when any web browser connected to my server app, there would be a 0.5-1 second "latency" (according to Google Chrome), before the request was handled [which would take milliseconds]
I eventually tried to make a dummy progra...
I've only recently been getting involved with PHP/AJAX/jQuery and it seems to me that an important part of these technologies is that of POST & GET.
First, what is the difference between POST and GET? Through experimenting, I know that GET appends the returning variables and their values to the URL string but POST doesn't:
website.com/...
How to authenticate to remote site via HTTP and then submit one more form, accessible only for authenticated user?
What I'm trying to achieve:
Login to Mantis bug tracker: http://www.mantisbt.org/demo/login_page.php
Submit new issue: http://www.mantisbt.org/mantis/bug_report_page.php
Logout: http://www.mantisbt.org/mantis/logout_page....
Hi. I want to use following script:
use FileHandle;
use WWW::Curl::Easy;
use WWW::Curl::Form;
my $file, my $curl, my $curlf, my $return, my $minified;
$file = new FileHandle();
$curl = new WWW::Curl::Easy();
$curl->setopt(CURLOPT_URL, "http://closure-compiler.appspot.com/compile");
$curlf = new WWW::Curl::Form();
$curlf->formadd('out...