I'm working on Comet support for CppCMS framework via long XMLHttpRequest polls. In many cases, such request is closed by client before any response from server was given -- for example the page is closed, user moves to other page or it is just refeshed.
At the server side I expect that I would recieve the notification that connection i...
Hi,
Does anyone know, or better yet have an example, of a WCF service that will except a form post encoded multipart/form-data ie. a file upload from a web page?
I have come up empty on google.
Ta, Ant
...
I have many many small images that are displayed on a user's profile and the loading of this page is horrible. The best solution is to sprite them all, but sadly I have too many images for that and only a few hundred are used per profile.
So, I'm trying to get the second best solution. What headers should I send? ETag? Expires? Cache-Co...
I am having trouble getting a form to update the information passed from a check box. I was given this code.
$one = isset($_POST['one']) ? 'on' : 'off';
This works great as long as I call each check box separately. My problem is I have approximately 200 checkboxes in total.
Here is the code I am using to UPDATE with. Can anyone help ...
Hi, I'm building an app that will allow the user to send a status update to twitter about something they have done in the app.
What is the easiest way to authenticate the user in the settings and have the app update their status when they tap a button?
Any help/ sample code is greatly appreciated.
-GVG
PHP/ iPhone SDK Developer
http:/...
I'm using an NSOperationQueue to manage HTTP connections (using ASI-HTTPRequest). Since I have multiple views and the need to have these different views requesting HTTP connections, should I try to create a global NSOperationQueue in the app delegate, or should I have one in each of the views? I'm not familiar with NSOperationQueue.
I'd...
I have multiple web services which lie on different directories:
Service A is located under http://localhost/svcA
Service B is located under http://localhost/svcB
Both web services are accessible over a custom HTTP binding with Connection: keep-alive to reduce the handshaking overhead.
When I connect to service A over a browser, and...
I need to be able to send the content type "text/xml" to Firefox and Safari, to allow them to render inline SVG in one of my pages.
This works, as long as the content type is "text/xml".
However, when IE hits the page, if the content type is not "text/html" it tries to render the XML document tree, rather than the XHTML content of the ...
I want to compose a HTTP request message in java and then want to send it to a HTTP WebServer.
I also want the document content of the page recieved which I would have recieved if I sent the same HTTP request from a webpage.
...
I would like to add some data to the body of a http request using cURL in PHP.
Is this possible? How?
I'm sending a HTTP request to a remote server. I have added all the headers I want, but now I need to add some more data to the HTTP body but I cant figure out how to do it.
It is supposed to look something like this:
Host: stacko...
I am making HTTP connections to server to get some data. It works on most devices, but
I'm getting this error on Sony Ericsson P1i.
I have found error description:
KErrHttpInvalidHeaderInRequest -7334
Request contained a response header or a entity header but no body
Body should exists, I mean, data is not zero-length, and other d...
Hi,
I have problem with HTTP headers, they're encoded in ASCII and I want to provided a view for downloading files that names can be non ASCII.
response['Content-Disposition'] = 'attachment; filename="%s"' % (vo.filename.encode("ASCII","replace"), )
I don't want to use static files serving for same issue with non ASCII file names but...
Hi,
After a few tests, I'm starting to reach the conclusion that a browser does not send a Referer HTTP header when one clicks to a http page from a https one.
What security reason is that for? Is is defined somewhere in the standard?
...
What HTTP status code should I return when a client posts bad data (e.g. a string when integer was expected)?
I've been using 400 Bad Request, but as I read over the HTTP docs that seems more applicable to HTTP protocol errors.
I'd like to use a status code so that Flash and AJAX clients can distinguish between success, bad data, and s...
I have a flash video player which requests a flv file from a central server. That server might redirect the request to a server from the user's country if possible, a lot like a CDN.
This video player also reports usage stats. One thing I'd like to report is the true server/location from which the player is streaming the video from. So ...
When a web server responds to HttpWebRequest.GetResponse() with HTTP 304 (Not Modified), GetResponse() thows a WebException, which is so very weird to me. Is this by design or am I missing something obvious here?
...
How we can send the Url Using Http Get Method in Android Android ..I tried but it doesn't works.can u give me the code to send url via http get method..
...
I've seen a lot of different methods for doing so, but none of them are specific (and my attempts to implement them have all failed).
Does there exist a known way to stream http video on a Blackberry? Sample code, tutorials, anything?
The closest I've found is: http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348...
I have written a code to send a HTTP request through a socket in java. Now I want to get the HTTP response that was sent by the server to which I sent HTTP request.
...
So, I'm using the HTTPConnection Class, like so:
HttpConnection c =
(HttpConnection)Connector.open("http://147.117.66.165:8000/eggs.3gp");
Following what LOOKS like the right way to do things in the Blackberry JDE API.
However, my code crashes if I try to do just about anything with the variable 'c'.
.getType()
.getInputStream(...