http

HTTP: What is the preferred Accept-Encoding for "gzip,deflate"?

This question is regarding the order of precedence for the media-types of the HTTP Header "Accept-Encoding" when all are of equal weight and has been prompted by this comment on my blog. Background: The Accept-Encoding header takes a comma separated list of media-types the browser can accept e.g. gzip,deflate A quality factor can also...

Is there a way to convert incoming email to a HTTP POST request?

I'm looking for a simple service/software that will convert emails into HTTP POST requests so I don't have to code in separate code paths for email handling. Does such a thing exist? ...

How to download files from HTTP in Symbian C++?

Hi! I need to download file from HTTP in Symbian C++. Can somebody tell me, how I can do this, couse I cannot find it in Google? ...

WinInet: How to override Internet Explorer's EnableNegotiate setting?

Our application uses WinInet to download data from a web server that supports Windows Authentication (Negotiate). However, when Internet Explorer's Windows Authentication setting is disabled, we only get an HTTP 401 - Unauthorized error. Both .NET's WebClient and the newer WinHTTP don't show this behaviour, but they are not a feasible o...

Is Ruby on Windows failing when dealing with IPv6?

So I've got a tool that I built in Ruby that uses net/http to make some requests to an external REST service. I built and unit tested this tool using Windows 7 and it worked absolutely fine. Now, since this tool is meant to be run periodically on one of our servers (running Windows Server 2008 R2), I deployed it there and suddenly it's ...

Proxy examples using org.apache.mina.proxy?

Does anyone know of any examples, ideally HTTP proxy, using the org.apache.mina.proxy package? ...

HTTP Auth coordinated by web application rather than server

I'm working with Django on Linux and I have an application that integrates with Active Directory. I'm seeking opinions and advice about whether or not it would be feasible or reasonable to access the HTTP headers from within the application to coordinate HTTP authentication. The end goal would be to perform NTLM authentication without...

Load a picture in a webpage from Flash

I'm editing a web page to access it only after login, so now it's a php page with an inital <?php session_start(); ?> and in the body of the page I test the value of a session variable. All works fine but in the header there is flash animation that don't load background picture. In the old version of the page this picture was loaded f...

Does PHP's HTTP class support javascript?

Hello, In regards to Can a PHP Proxy call Javascript functions like a click I'm investigating a solution that involves using PHP's HTTP class to simulate a client's browser. Does anyone know if the PHP HTTP class supports javascript functions? Can you recommend any others that do? Thanks! ...

Python httplib ResponseNotReady

I'm writing a REST client for elgg using python, and even when the request succeeds, I get this in response: Traceback (most recent call last): File "testclient.py", line 94, in <module> result = sendMessage(token, h1) File "testclient.py", line 46, in sendMessage res = h1.getresponse().read() File "C:\Python25\lib\httplib...

What is the way to do an idempotent HTTP request with data that does not fit in the URL?

So, basically the 255-char limitation of URLs is too short for me, and I don't want to rely on ignoring it. My request will not change anything on the HTTP server end. I need to send some data with request, that is slightly larger than 1024 characters in size and is NOT of secure/secret character. The server will use the data for verifi...

How can I provide a HTTP management console for a Java application?

I'm writing a Java application that will run for a long time (essentially, it stays running between system restarts) and does a fair bit of intensive near real-time data processing. Data is delivered to the application, some work is done on that data, and it's then passed on for delivery. I need to provide a way to inspect the inner wor...

http web request not running in LoadRunning script. Giving HTTP/1.1 400 Bad Request error

hi I m able to run my application manually which connects to the server using WCF. The LoadRunner saves the script for the same action ( Login etc). The problem is that when the script is run HTTP/1.1 400 Bad Request error occurs ... Please help. Note: The http request has a header and Credentials field that needs to be set. The reque...

HTTP 504 timeout after exactly 120 seconds

I have a server application which runs in the Amazon EC2 cloud. From my client (the browser) I make a HTTP request which uploads a file to the server which then processes the file. If there is a lot of processing (large file ), the server always times out with a 504 backend continuation error always exactly after 120 seconds. Though I ge...

http status code 200

Can any one please let me know the exact meaning of http status code 200. Because, i have uploaded the file to a particular folder (NewsToday) having protocol HTTPS, but it does not post that file into that folder, instead shows an error status code 200. Why? What i did the mistake i did? ...

How to host a simple ASP.NET web interface in a Windows Services

For a simple appliance that runs on a Windows & .NET operating system, we need to create a simple configuration web interface to control it. Just like your router's configuration page, nothing more complicated than that. Installing IIS or any other web server should be avoided, what we need is a self supporting process within a windows ...

Is it possible to use a localized string value in the HTTP response header?

It seems the header value is always encoded as "ISO8859-1". ...

Brwser and http

Where is the link at the framework layer between the Web veiw and HTTP [Browser Activity] | V [web view , Web Core , Web Client , webkit | V [?????????????????????????????????] | V [Google Http , andorid Http clients] | V [java.net.socket] ...

Parsing Python HTML POST data from BaseHTTPServer

I'm sending a couple of files from an HTML form to my server which is based on BaseHTTPServer. Within my do_POST I'm getting a string from rfile.read(length) which looks like some sort of multipart MIME string. Google is not being helpful on how I can decode this into something usable. The output looks like this : ------------------...

HTTP file uploading standard?

I'm writing a client in python to upload a file to a webserver I run. On the PHP side, it seems I should expect the file to arrive in the $_FILES variable, but I can't find any documentation on how that variable gets populated. I can find tutorials on how to create web forms to upload, but none of them tell me what the actual HTTP POST l...