http

Using in-url basic authentication in firefox

I'm using launching firefox from the command line in a script to get snapshots of pages. These pages have basic http authentication. When using: firefox http://user:[email protected] Either a dialog appears, or authentication doesn't work at all. Is there any option to make firefox open the page without showing the dialog? ...

how to install\turn on Adobe HTTP Dynamic Streaming Origin Module on an Apache HTTP Server?

how to install\turn on Adobe HTTP Dynamic Streaming Origin Module on an Apache HTTP Server? ...

best tool for monitoring incoming/outgoing requests (PC/MAC)?

What are the best tools for monitoring incoming/outgoing requests from a PC or MAC? Any tool that works well on both? (my guess is N/A) I'm interested in capturing HTTP (possibly even TCPIP)-based requests and responses. Does Wireshark always come out on top or are there alternatives people feel are better? Thanks for any info. ...

Why Won't this http post request work? Delegate methods not being called

Hi, I'm wondering why this http post request won't work for my iphone app. I know for a fact that the url is correct and that the variables I'm sending are correct but for some reason the request is not being recieved by the aspx page. EDIT:: I re factored the code into its own class with its own delegate methods. The delegate method...

httpURLConnection vs apache commons http

Hi everyone! I just wanted to know if any of you had any problems using java default HttpURLConnection class. Some kind of bug that made you switch to apache commons. Or is it just the (ugly) interface that class exposes that justifies the birth of 3rd party http lib? Disclosure: I heard some arguments against java.net having some ser...

Win32 script environment for testing http redirects?

The past few days I've been working with setting up an Apache server on Windows. The server is supposed to host several .htaccess files, each redirecting (or, in some cases, proxying) to different hosts. I want to create tests for these redirectons, and the solution I'm currently considering is a CGI script running on the same server, ...

Proven and Scalable Comet Server

What is the most proven, scalable comet server solution out there that can handle up to 100.000 real-life connections per node using HTTP streaming (not long-poll)? It must be a free, preferably open-source project. We've already tried Meteor (Perl), with no success. Meteor was able to scale just up to 20.000 connections per node. We a...

is it possible to continue a file upload after a browser has been quit?

If a user starts uploading a file (in a web app), and they close their browser before the upload completes, what happens? My guess would be that the upload gets abandoned, and the server has some garbage cleaning mechanism that kicks in eventually, but I'm not sure. Any difference between servers or server languages? Any difference bet...

How to handle error with content-disposition

Hi, how should I handle an exception that occurs after sending a Content-Disposition header for an attachment? I'm trying to generate a report at server and send it as a file, but if an exception occurs during the report generation, the error message itself is sent to browser which still takes it as a content of a file and shows a Save ...

.NET: Preserving some, but not all query params during redirect

Hi all, Could someone tell me if the code below would achieve what I want, which is: Check if the query parameters 'return_path' and/or 'user_state' are present in the query string, and if so append them to the query string of the redirect URI. As I'm not a .NET dev and don't have a server to test this on, I was hoping someone could gi...

How Configure app.config for HTTP Basic Authentication?

I am developing a SOAP client using C#. The web service requires HTTP Basic Authentication. Can I configure the username and password in app.config? Can u provide a sample? ...

Should HTTP POST be discouraged?

Quoting from the CouchDB documentation: It is recommended that you avoid POST when possible, because proxies and other network intermediaries will occasionally resend POST requests, which can result in duplicate document creation. To my understanding, this should not be happening on the protocol level (a confused user armed with a ...

jqueryForm and empty uploads

Hi All, Been scratching my head for too long on this: Using jquery.form, (http://malsup.com/jquery/form) with PHP ... my $_FILES['someimage'] gets set but the error number is always UPLOAD_ERR_NO_FILE, size is also 0. The JavaScript: $('form input[type=file]').change(function(){ $(this).clone().appendTo('#imgform'); $(...

Why is curl in Ruby slower than command-line curl?

I am trying to download more than 1m pages (URLs ending by a sequence ID). I have implemented kind of multi-purpose download manager with configurable number of download threads and one processing thread. The downloader downloads files in batches: curl = Curl::Easy.new batch_urls.each { |url_info| curl.url = url_info[:url] curl...

How to make persistent Cookies with a DefaultHttpClient in Android ?

Im using // this is a DefaultHttpClient List<Cookie> cookies = this.getCookieStore().getCookies(); Now, since Cookie does not implement serializeable, I can't serialize that List. EDIT: (specified my goal, not only the problem) My goal is to use the DefaultHttpClient with persistent cookies. Anyone with experience that could lead...

Can a client dictate whether or not HttpContext is created?

We are getting a lot of hits from Googlebot and BingBot and it appears that none of these requests have an HttpContext. I originally thought that every http request will get a context which obviously is not the case so I'm trying to understand how does an HttpContext gets constructed, is it part of the negotiation between client and ser...

What encoding does Flash Builder use to send non-English data to servers?

In my site I use Unicode... I hoped when I'll connect Flash Builder to my server (using Data -> connect to HTTP ) It will work with my API sending Russian text as UTF-8 but instead it sends Þûõó ïúушúøý to my API and so to DB and so on instead of my favourite UTF-8 &#1056;&#1091;&#1089;&#1089;&#1082;&#1086;&#10...

getRequestProperty("Authorization") always returns null

I am trying to read the authorization header for an HTTP request (because I need to add something to it), but I always get null for the header value. Other headers work fine. public void testAuth() throws MalformedURLException, IOException{ URLConnection request = new URL("http://google.com").openConnection(); request.setRequest...

Sending multiple http requests to Django from Android

Hi, I am developing a microblogging platform in which I need to populate the page with Post (user defined class with fields) obtained from the Django server using HttpGet. In the client side(Android) I am using GSON to parse the responses from server to the type Post. So I require that server should send Post's one by one so as to add...

Embed feedback element in rss or atom that does not change the view on click

I am developing a filtering proxy for feeds (rightload.info). A key UI element is a link or equivalent embedded in each entry that allows the user to express an opinion such as "like" or "dislike". A design goal was to support the largest number of feeds and feed readers (and browsers since the most popular feed readers are web based). T...