http

What is the query string of a BlazeDS request?

I have a Tomcat service running on localhost:8080 and I have installed BlazeDS. I created and configured a simple hello world application like this... package com.adobe.remoteobjects; import java.util.Date; public class RemoteServiceHandler { public RemoteServiceHandler() { //This is required for the Blaze DS to instantiate the class }...

What is more compact, GET or POST?

Is POST more compact than GET, since GET requests have to be URL-encoded? ...

Can a PHP file handle multiple requests?

Instead of starting new instances of a PHP script when an HTTP request is received, is there any way for one PHP script to handle multiple requests? ...

How do you handle multiple AJAX requests in PHP?

My AJAX search program keeps asking PHP for results of a particular search term. The start of the PHP script reads thru a MySQL DB and initializes, so if the PHP keeps restarting, it will have to read the DB millions of times. If I can keep it alive and let multiple silly AJAX requests be served by a single running PHP script instance I'...

Disk caching http Library for Java: Does it exist?

Apache HttpClient does not have caching as far as I can see so my question is do you know about a Http library that can cache to disk? It would be fun to implement it myself but before i do it, it is better to check if it already exists :-) Requirements: Support for Http 1.1 Can cache to disk (ex: a folder) Support for a maximum cache s...

Are all session variables sent over HTTP?

I like the idea of a so called session-ID, which is sent to the browser and returned back for auth. But can I store more data in serverside session variables, for subsequent sessions to access? I'm using PHP. ...

<audio> element autobuffers no matter what

I'm trying to make a web based media player using the HTML5 audio element implemented in Firefox 3.5 and Chrome. Reading Mozillas documentation, omitting the autobuffer attribute should result in the audio src not being requested: if specified, the audio will automatically begin being downloaded, even if not set to automatically ...

Use cache file or one more HTTP Request?

Hi people, on all the "speed up your website" sites and books they always tell us to minimize HTTP requests at all costs. This is fine and nice but what if that means that on every page you have to reload 120kb again and again and again because the user cache is empty? If i use 5 js files on every page of my website, wouldnt it be bett...

http checks python

Hi gentlemen, learning python here, I want to check if anybody is running a web server on my local network, using this code, but it gives me a lot of error in the concole. #!/usr/bin/env python import httplib last = 1 while last <> 255: url = "10.1.1." + "last" connection = httplib.HTTPConnection("url", 80) conn...

How do Download Managers download huge files on HTTP without multiple requests?

I was downloading a 200MB file yesterday with FlashGet in the statistics it showed that it was using the HTTP1.1 protocol. I was under the impression that HTTP is a request-response protocol and most generally used for web pages weighing a few KiB...I don't quite understand how it can download MB's or GB's of data and that too simultaneo...

SSL post transmission encryption

There is an external server posting data back to my server that is coming from an https address. The address it is posting to on my end is an http (no SSL) address. How does SSL encryption work between servers? Will this data be encrypted between the external server and my server, or does there need to be SSL on both ends to have the da...

POCO C++ - NET SSL - how to POST HTTPS request

Hello How to correctly do a POST to HTTPS server and embed the login data correctly. Below code does not return any cookies (in Wininet it does). I wonder how POCO HTTP library handles HTTP redirections? MyApp() { try { const Poco::URI uri( "https://localhost.com" ); const Poco::Net::Context::Ptr context( new Po...

When should I be responding to HTTP HEAD requests on my website

My google app engine website is getting errors on the main url for HEAD requests because I am not accepting them. According to this, the HEAD request is for "testing hypertext links for validity, accessibility, and recent modification" What should be my "normal" response to HEAD requests be? I started accepting HEAD requests, to stop ...

WinHTTP IWinHttpRequest iface - cookie handling - how to get cookies from response?

Hello I'm using WinHTTP IWinHttpRequest object. I do POST to a https domain specyfying a request body with credentials. The site is expected to return cookies in HTTP response. The code works in Wininet - but I don't know how in WinHTTP to get cookies from the HTTP response? Can anybody help? Dominik ...

SOAP, HTTP(S) POST. XML and Schema mess

I am very confused. I have a xsd file, no wsdl and apparently i send this data through SOAP. Now looking at all i went back and notice this (using ssl) The regular session begins with a HTTP POST request sent by the client. The body of the request contains XML document compliant with SOME_API Request schema So... i am not u...

C# method to do URL encoding?

Hi what c# class method can I use to URL encode a URL string? In my use case I want to pass a URL string as a URL parameter itself. So like burying a URL within a URL. Without some encoding the "&" and "?" characters in the inner URL can get picked up when the parameters for the outer Url parameters are processed thanks ...

HTTP POST and GET request for WinXP

I remember that there is a folder in the c:\Windows\system32 where all the HTTP POST and GET request are logged. I cannot find the folder in the net. Does anybody know where that folder is? ...

How to get a remote-file's mtime before downloading it in Ruby?

I have the below code, which simply downloads a file and saves it. I want to run it every 30 seconds and check if the remote-file's mtime has changed and download it if it has. I'll be creating a thread which sleeps 30seconds after every iteration of an endless loop for that purpose, but; how do I check a remote file's mtime without down...

What is a good way to transfer binary data to a HTTP REST API service?

We are extending our HTTP REST API to allow clients to upload picture (for the purpose of this question, assuming binary data). So far we have only allowed simply strings in our API parameters. What is a good way to allow them to upload binary data? Would it be to request for the base64 encoded form? Would the URL become too long for the...

how to upload file by POST in libcurl?

how to upload file by POST in libcurl?(c++) ...