http

Python http download page source

hello there i was wondering if it was possible to connect to a http host (I.e. for example google.com) and download the source of the webpage? Thanks in advance. ...

why is having (or excluding) 'www' in the URL affecting how my site displays to users?

I am cleaning markup on a website for my first customer. I did not build the site; I want to remove the table-based design and replace it with proper CSS, before I add a shopping cart to the site. http://www.theresheglowsdayspa.com I noticed by accident that the appearance will change if 'www' is removed from the URL. Can someone expl...

How can I tell if Heroku is sending gzipped responses?

I'm making an iPhone application that requests JSON from Heroku. Am I getting a gzipped response? And, does the iPhone automatically unzip gzipped responses, or do you have to program that in? I'm using NSURLConnection asynchronously (with the delegate protocol) as described in the Xcode docs. When I do: curl -I http://acani.heroku.c...

"Age: 0" HTTP Header

Does any one know, what does the HTTP header "Age" is for in general, and what does this specific one means: "Age: 0" Thanks ...

How can I use HTTP redirect/forwarding to forward a web service ( asmx )

I have a two webservices. Lets call them Old AND New OLD is asmx , .NET 2.0 IIS 6.0 on machine 1 NEW is asmx, .NET 2.0 IIS7 machine 2 the machines are on separate hosting providers so we can forget any sort of infrastructure co-operation Due to some really, really, really, bad coding there are clients in the wild that have hard code...

How to get php page load time statistics?

Recently we've been having problems with our LAMP setup and we started to see the number of MySQL database connections spike up every now and then. We suspect that some mysql operation is taking longer than usual and apache just started to build a backlog of connections to deal with incoming requests. Question is, is there a way to per...

Login to multiple sites from one site using javascript?

Is it possible to let an user login to multiple websites from my website using javascript? ...

Open files from a web application with another web application?

So these days we want things to be on the cloud. In the desktop area we could use one application to create a file, then another to open that file. I wonder how you accomplish this file sharing between web applications? Eg. if I create a web application letting the user create a file, how do I share this file to another web applicatio...

Stream video on Android

I have a video stream that I used in an iPhone application. I'm now working to port the application to Android so I want to use the same stream. As Apple requiered, I created a HTTP Live Streaming (media segmenter, m3u8 file, etc.). You can find the stream here: http://envue.insa-lyon.fr/smartphone/aloun_stream/prog_index.m3u8 . I wan...

Subdomains vs Directories for Account has many Users

I am making an app where several users work towards a common goal grouped under an account. What would be a better structure for my urls? Subdomains: some-team-name.app.com Directories: app.com/some-team-name For example, Basecamp uses subdomains. Do clients think better of your web-app if it uses subdomains? In my humble opinion it...

Intercept http POST requests

I am looking for a method to intercept http post requests with delphi without hooking any browser functions.Is that possible? How?? ...

Question on streams and http request/response

When using streams, memory consumption is supposed to be the same as the size of the buffer. However, I am not sure how a stream works when I look at the following code, which uses http request and response. (HttpWebRequest to be precise) Stream requestStream = webRequest.GetRequestStream(); // Here write stuff to the stream, data is a...

which of these two servers are likely to do better under heavy http load?

As the title asks, the reason I'm asking is because I have a wordpress site which gets about 10K visitors per day on a dedicated server from iweb but in the evenings, around 8 to midnight the site crawls to a halt and page load time goes up to about 12 seconds or more compared to 2-3 during the day. Checking my google analytics its shows...

Facebook Changes Page URL but does not actually change page

I was on Facebook and realised that when I change page the page address changes but the page does not redirect but loads via ajax instead. You can tell because the console does not clear when you click the link but the URL changes. Weird, but anyone know how it is done? ...

HTTPS login not saving the JSESSIONID in a cookie

We recently changed our login to use HTTPS, and we are experiencing issues with the login. After the login, the user is redirected to an unencrypted (HTTP) page. When it reaches this page, the site checks if the user is logged in. It creates a new session and it appears that the user is not logged in, and thus our user is redirected to ...

Debugging localhost with fiddler

I've done a search and there appears to but a lot of information - but just not the answer. I want to be able to see the traffic going to and from my local ASP.NET debug session, hopefully in fiddler. Any idea on how to configure for this? ...

Can I disable Mercurial cloning/pulling over HTTP?

We're using Mercurial on our production servers for some smaller web projects to easily deploy applications by pushing changes to the server over SSH. The repositories reside in the public_html folders of their respective accounts. Now if I do a hg clone http://www.domain.com I get real URL is http://www.domain.com/ requesting all c...

Why do we need HTTP GET? Is there anything that can't be achieved by HTTP POST?

As far as I know what GET can do, the same can be achieved by POST. So why was GET required in first place while defining HTTP protocol. If GET is only for fetching the resource, people can still update resources by sending the parameters values in URL. Why this loophole? Or the guy who did the coding on server side to update the resourc...

Android: UnknownHostException when sending HTTP POST

Hello, What I'd like to do is sending a HTTP POST request to a REST webservice. However it seems as if my applicaion cannot connect to the host. The application throws the following exception when sending the request: 10-19 18:54:05.335: VERBOSE/SD(280): java.net.UnknownHostException: http://www.myhost.com 10-19 18:54:05.335: VERBOSE/S...

How to do a redirect without the original referrer showing?

I need to do redirect my site visitors to a third party site, without the original referrer showing as the urls disclose private information. Is there a way to instruct a browser redirection without a referrer being sent to the destination site? E.g. using javascript? Thanks ...