I noticed that once Firefox pops up a modal in response to a WWW-Authenticate header in an HTTP response. Then, Firefox saves the username/password until Firefox is closed. The Web Developer plug-in makes it possible for developer-minded people to logout. But what HTTP message should be sent to the browser to lose those cached credent...
- Since discovering more about my problem I have modified my question
A single user is complaining that (on XP and using IE6) they're not able to follow any links around my site. The behaviour they're seeing is clicking a link shows a blank page, but doesn't change the url in the address bar of the browser. Pressing refresh at this poin...
I am wondering if there is a straightforward way to use .NET's built in HTTP support to parse arbitrary bytes into nice HTTP requests and responses. For example, I would like to be able to pass in a byte array containing "HTTP/200 OK\r\nContent-Type:...." etc and get out some structure representing the status code, and decoded content.
...
Hi there,
I'm using HTTP POST to call a cgi script on a web server and send along some data as arguments. Some of the arguments can contain quite a bit of data. This seems to be a problem for the web server and I am getting error 414 (Request URI too long) as a result.
My URI ends up looking something like this:
http://somewebsite.com...
Whether I log into Facebook or Twitter, I'll be bombarded with cookies of the such names as:
__utma
__utmb
__utmc
__utmv
What are their functions ?
Is there a standard that governs how these are used on the serverside ?
...
My jersey resource is sending this to the client browsers namely (safari & chrome) but the browsers are not redirecting. Is there anything wrong with my HTTP response below ?
HTTP/1.1 303 See Other
Date: Thu, 12 Nov 2009 10:17:23 GMT
Location: http://twitter.com/oauth/authenticate?oauth_token=KNHo4mcLMJG
Content-Length: 0
Server: Jetty(...
I have a kind of Http-Gateway app, which acts as an http client towards servers outside our local network.
There is going to be a network configuration upgrade, and I'm going to have problems because:
- there are multiple network cards on client machine
- firewall/nat rules use hardwired ip addresses
If I could programmatically for...
friendfeed.com uses 302.
bit.ly uses 301.
I had decided to use 303.
Do they behave differently in terms of support by browsers ?
...
In PHP, how can I determine if any remote file (accessed via HTTP) exists?
...
I'm working behind an http proxy. I'm trying to clone Android's source tree using their "repo" tool.
This tool insists on using "git://" URLs, even though "http://" URLs also work. This results in me not being able to download the source.
Is it possible to force git to always use http URLs?
Thanks.
Edit: my http_proxy is configured ...
This code is getting the headers and content from $url, and prints it to the browser. It is really slow, and it's not because the server. How can I improve this?
$headers = get_headers($url);
foreach ($headers as $value)
header($value);
$fh = fopen($url, "r");
fpassthru($fh);
Thanks
...
When you explicitly set the cache request and response directives via setting response and request headers, is there a better way to test if they are working correctly for UAs other than manually looking in their cache? On a related note, am I right in assuming browsers get the current time for cache operations from the computer's syste...
Why is it that ASP/ASP.NET Response.Redirect uses a HTTP-302 status code ("Moved Temporarily") even though in most cases a HTTP-301 status code ("Moved Permanently") would be more appropriate?
...
I have some files in a directory tree which is being served over HTTP.
Given some sub-directory A, in that directory tree I want to be able to download directory A and all containing subdirectories and files.
It seems likely that a simple/direct/atomic solution exists in the some dark corner of Java. Does anyone know how to do this?
...
Ive got a Scala program that downloads and parses html. I got the links to the image files form the html, Now I need to transfer those images to my hard drive. Im wondering what the best Scala method I should use.
my connection code:
import java.net._
import java.io._
import _root_.java.io.Reader
import org.xml.sax.InputSource
import ...
I read somewhere that for a high traffic site (I guess that is a murky term as well), 30 - 60 seconds is a good value. Obviously I could do a load test and vary the values, but I couldn't find any kind of documentation on this. Most samples have a minute, a couple of minutes. There's no recommended range. Is there something on msdn or...
I've set my ErrorDocument 401 to point to my website's account creation page, but not all browsers seem to honor this redirect (Safari).
Also, other browsers (Firefox, Chrome) never quit asking for the password and show the ErrorDocument. This causes a good number of users to give up trying after many password attempts without seeing th...
Hi,
On my site wemanageloans.com, many of the users are getting the following error when they try to login with the correct credentials:
HTTP Status 408 - The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browse...
We want to push data from a server to clients but can only use HTTP (port 80). What is the best solution for messaging? One idea is Comet. Are there other ideas or frameworks which offer lets say JMS over HTTP. (Yes, ActiveMQ supports it too, but waggly IMHO. And JXTA supports it too but the configuration is complicated. Something simple...
>>> a=urllib.urlopen('http://www.domain.com/bigvideo.avi')
>>> a.getcode()
404
>>> a=urllib.urlopen('http://www.google.com/')
>>> a.getcode()
200
My question is...bigvideo.avi is 500MB. Does my script first download the file, then check it? Or, can it immediately check the error code without saving the file?
...