I know I can't logout an HTTP authentication.
Overwriting through the Location: http://logout:[email protected]/ way seems to work on most browsers, except IE.
I was wondering however if I could let the users overwrite the Authentication data.
So say the user has some auth data in its browser, now they go to my /logout pag...
Hi there, I'm a newbie trying to do a simple HTTP post in JS within a Firefox extension..
This isn't passing through the parameters:
var params = "a=1&b=2&c=3"
req.open('POST', 'http://www.mywebsite.com/');
req.send(params);
Any ideas on what I'm doing wrong? Thanks.
...
In C#, I am working on a project to automatically update a separate server with an image and other form data and such... However, the PHP server isn't getting any of the POST data, it's only getting the headers and I can't figure out why.
Here is what I am sending to the server (all new lines have CRLF):
POST /new_reply/1 HTTP/1.1
Host...
I'm doing a very simple upload form to my Google App Engine application. In the client GWT code I have something like:
final FormPanel uploadForm = new FormPanel();
uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART);
uploadForm.setMethod(FormPanel.METHOD_POST);
uploadBtn.addClickHandler(new ClickHandler() {
@Override
...
Hi guys, I have a problem with a redirect I am trying to do from within a iframe, I keep getting a SSL certificate error, is there a specific way should be redirecting from within an iframe? I am usig this code,
echo "<script type='text/javascript'>top.location.href = '$redirect';</script>";
I have also tried a standard PHP header r...
Hello,
I am writing an iPhone application and I would like to connect to a 'HTTPS' server to get some information. However, I get the error in the console which is
NSUnderlyingError = Error Domain=kCFErrorDomainCFNetwork Code=-1202 UserInfo=0x3e95cf0 "The certificate for this server is invalid. You might be connecting to a server that...
I'm using Jetty 7.0 embedded mode and looking for a way to force Jetty to response with HTTP 1.0 and not 1.1 (which seems to be the default).
Is there any setting I can use, to control the protocol version on the server response?
...
I have 5 sites on one apache server. One of the sites is with SSL. So when the other sites are accessed with https then they are redirected to the SSL site which is incorrect.
E.g.
https://x.com (with SSL)
http://y.com (normal site no SSL)
If I access https://y.com then I get the content from x.com. How can I fix so https:...
Here is a scenario:
Desktop application
Installed from the web
Needs to call a WCF webservice
Transferred data needs to be encrypted from Client to Server and Server to Client
Is there a well understood solution for this that is:
Secure
Easy to manage and deploy
I guess what this comes down to firstly is whether https encryption ...
Hi,
I am working with a client/server application which uses HTTP, and my goal is to add new features to it. I can extend the client by hooking my own code to some specific events, but unfortunately the server is not customizable. Both client and server are in a Windows environment.
My current problem is that performance is awful when ...
I am trying to make Http connections made by C# HttpClient helper class reusable. I read that there is KeepAlive header which has to be present in Http request.
I sniffed the traffic and I cant find any reference to KeepAlive.
It has GET and it has HTTP/1.1 strings in there. No KeepAlive no nothing.
P.S. I also tried to find KeepAliv...
hi,
i've read on argosoft.com that it would be possible sending email using the http protocol - where can i find info about it?
i'm looking for a way to send a personalized newsletter off my server withouth putting heavy traffic on my webserver. would this be possible?
thx
...
Ok. Here is the full code. I tried to reuse connections setting KeepAlive but it simply doesnt work. I looked in the Http messages using Feedler and Charles but all I can see is Connection: close in response.
I see 600 TCP connections in wait state opened by 10 threads. Each thread run one http requst at a time.
There is also bunch of ...
I'm working on a website where the frontend is powered by AJAX, interacting with the server in the ordinary RESTful manner and receiving responses as JSON.
It's simple enough to manage POST, DELETE, and PUT requests, since these won't differ at all from a traditional approach. The challenge comes in GETting content. Sometimes, the clien...
I cant make my Http connections to be reused. HttpWebRequest.KeepAlive setting makes no difference. I found this article which says that if you have NTLM authentication then use UnsafeAuthenticatedConnectionSharing = true.
So I set it to true and still have same bunch of TCP connections and nothing similar to reuse..
Any thoughts?
...
An off the shelf application is setting a 302 back to the browser with an invalid MIME type. Our reverse proxy is dumping the return due to the invalid MIME type.
The backend is IIS 6.0 and I have been looking at URL rewriters But they only appear to match the incoming stream not the outgoing stream.
I note that IIS7 has the ability o...
I want to send data to server from client(Android), below is my format
http://101.34.45.45/rawData?data={"userId":"guest1","timestamp":"2010-07-01 08:58:23","wifi":[{"ssid":"guest","rssi":"40"},{"ssid":"guest1","rssi":"80"}]},
i'm trying series of trial but no use, how this can be done?
...
Inishturkbeg.com query.
If you search "inisturkbeag" (which should people
apparently do), you get inisturkbeag.org, which redirects to
inishturkbeg.com. Is there any way we can remove these from Google?
Is it an ISP thing?
...
I'm curious how these systems work technologically. As I understand it you do the following as a user:
Go to your favorite 3rd party site.
Click the "Facebook Connect" button.
Log into Facebook (if not already).
Authorize Application
You are routed back to the 3rd party site logged in.
But, how does the 3rd party site talk to FB abou...
Hi,
I just noticed to my surprise that whitespace at the start or end of form parameters is not automatically removed in ASP.NET MVC 2 (browser: Firefox).
I always assumed this would be the case, simply because I could not see a scenario where I would NOT want trimming to happen by default.
This can be fixed very easily by implement...