http

How to configure your WCF service to work as normal TCP server?

How can I configure my WCF service to work as a normal TCP server? Is it possible to disable all that binding specific stuff so as to keep your service URL like http://example.com:4444/service and be able to work vith pure HTTP/TCP streams? I need to be able to work with TCP streams in tandem with WCF services... so I have to make TCP s...

Using both chunked transfer encoding and gzip

I recently started using gzip on my site and it worked like a charm on all browsers except Opera which gives an error saying it can not decompress the content due to damaged data. From what I can gather from testing and googling it might be a problem with using both gzip and chunked transfer encoding. The fact that there is no error when...

wget: dont follow redirects

How do I prevent wget from following redirects? ...

Tool to check if web server is following HTTP standard?

I'm writing a simple HTTP server which should play nicely with most clients, but is only meant to implement a subset of HTTP 1.1. During development it would be nice to be able to validate that the generated HTTP reponses are HTTP 1.1 compliant. Is there a tool that can do something along those lines? Thanks /Erik ...

HTTP stream without extension in MPMoviePlayerController

Hi, I'm currently letting VLC stream a WMV file while it converts the file live to H264 with MP3 audio. This means you get an URL with just an IP and a port (http://127.0.0.1:1234/). When I try to let MPMoviePlayerController stream this, it says it can't open that extension... What should I do? I heard that you have to create a M3U8 fi...

Connect to a website via HTTP in C

i have a C code that parses a file and generates another file for the processed data. i now need to send these files to a web server (website). i guess there way is to do a HTTP POST. but i have never done this in c (Linux gcc compiler in ubuntu). Does anyone know how to do this. i need to a starting point as i have no clue of doing this...

Issuing multiple requests using HTTP/1.1 Pipelining

When using HTTP/1.1 Pipelining what does the standard say about issuing multiple requests without waiting for each request to complete? What do servers do in practice? I ask because I once tried writing a client which would issue a batch of GET requests for multiple files and remember getting errors. I wasn't sure if it was due to me ...

How to GZIP my JS und CSS Files

Hello everyone, I habe a Problem, I have to gzip a prototype Lib, but i totaly have no idea how to do this, where to start und how does it works :) I find some tutorials but that wasn't helpfull... So I have a folder with my JS Files /compressed/js/ 1.js 2.js 3.js I caling this files for a test in this file /compresses/index.php <...

How can I build and parse HTTP URL's / URI's / paths in Perl?

I have a wget-like script which downloads a page and then retrieves all the files linked in IMG tags on that page. Given the URL of the original page and the the link extracted from the IMG tag in that page I need to build the URL for the image file I want to retrieve. Currently I use a function I wrote: sub build_url { my ( $base...

How to restrict http access to video files?

I want to only let "right" people watch those videos. In other words, only registered users that are allowed (by other users, ie, friends) should see videos. I have a hard retriction for cpu usage in my shared environment, so I can't use things like php's readfile. ...

Deny direct url access to files

Does anyone have any suggestions on how to only allow files to be downloaded from pages on my site and deny access if someone types or pastes the direct URL into a browser? ...

Upload a file to a Rails Application from a Ruby command-line application

I've been busy on a social networking site for developers for a while (like a mix of github and Facebook), and I want to implement a simple system to create repositories, like on github. For this, I want to create a command-line application in Ruby (not Rails), which will check if there were made any changes, then upload changed or new f...

which browsers do not send referer information?

which browsers do not send referer information? ...

Multiple http digest authentications to pull camera mjpg feeds into page

I have 7 IP cameras in a building on the LAN with a Mac OS 10.6 server. The cameras are broadcasting individual mjpg feeds, which are available on individual ports outside the subnet. Each feed is protected by http digest authentication. I would like to figure out 2 things: what is the best way to display a mjpg feed in a web page? (I...

Download and write .tar.gz files without corruption.

I've tried numerous ways of downloading files, specifically .zip and .tar.gz, with Ruby and write them to the disk. I've found that the file appears to be the same as the reference (in size), but the archives refuse to extract. What I'm attempting now is: Thanks! def download_request(url, filePath:path, progressIndicator:progressBar) ...

is it possible to send referer information with php?

is it possible to send referer information with php? ...

code to ping websites works sometimes ...

I'm testing out a piece of code to ping a bunch of websites I own on a regular basis, to make sure they're up. I'm using rails and so far I have this hideous test action that I'm using to try it out (see below). The problem though, is that sometimes it works, and other times it won't ... sometimes it runs through the code just fine, o...

Server port 16080 problem: webserver adds the port number 16080 in the URL

Hello everybody. On my wordpress website one little thing doesn't work. Sometimes the Webserver adds the port number 16080 in the URL, which leads to an error (network timeout). Wrong: http://www.example.com:16080/about-us/weekly-program/?month=may&amp;yr=2010 Correct: http://www.example.com/about-us/weekly-program/?month=may&amp;yr=20...

Eclipse 3.5.1 update error (HTTP 503)

I'm trying to update Eclipse 3.5.1 (on Gentoo Linux) from the Galileo Discovery Site and I get this error message: Network connection problems encountered during search. Unable to access "http://download.eclipse.org/releases/galileo". Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/...

HTTP request using asynchronous pluggable protocol in Java

I need to make an HTTP request to a resource that looks like "xy:index.html" in Java. The HTTP implementation does not have to be sophisticated. I just need to be able to do this to avoid same-origin violations when running in development mode for a GWT app by forwarding HTTP requests on the server-side to the "xy" protocol. Any clue...