http

Problems decrypting HTTP Live Stream

I have a single key encrypted HTTP Live Stream which decodes fine in Quicktime and iPhone. I'm trying to create a simple client application to do the decryption of the ts files. Right now I've used openssl to decrypt. I believe I have the correct arguments to openssl and I'm inserting the key and the IV properly. I can successfully d...

How to detect which TCP packets are part of a HTTP connection in C#?

I am working on url tracker project where I have to track all sites visited by a user. So I decided to do it by tracking TCP packets on every user request. So I am capturing all the TCP packets user requesting. But how can I figure out if it is a normal TCP request or HTTP request. Any suggestion will be very helpful. Thanks. ...

Disable hostname checking for SSL connections?

Hi guys, I'm using clojure-http to make the following POST: (clojure-http.resourcefully/post "https://android.apis.google.com/c2dm/send" {"Authorization" (str "GoogleLogin auth=" auth-token)} {"registration_id" registration-id "data.msg" "blah" "collapse_key" "blah"}) And getting this exception: java.security.cert.Certifica...

Reading all data coming to my web browser

Hi, How can I read all data (low level data, encrypted data, etc.) coming to my web-browser? The data can be from different servers. Further I want to parse these data so it should be in some format. I just want to know the structure of data and how can I read and parse it (in "C" or "Java" languages). It is related to browser developme...

Making a http POST request using Arduino

I am trying to post information to an API on a web project that I have created and hosted. I am not sure what the exact format is for the HTTP POST request. Every time I try I get HTTP 400 errors with the message that there is "an invalid verb". Sample Code: byte server[] = {"our IP"} .. .. client(server, 80) .. .. client.println("P...

jquery JSON making an OPTIONS request despite GET being set.

Hello, I am having an odd problem on Windows whilst using any browser. When I make a request from my local machine to an external website with a JSON file. Apache receives an OPTIONS request rather than a GET despite GET being specified. After some research it looks like a cross site request issue however, most of the articles I found w...

How to make a video or audio file HTTP response always download instead of play in browser?

Have some audio and video files that users are to download, however depending on the file type or browser the browser may attempt to play the file instead of downloading it. This is not desired, how can I avoid this? The anchor will be a direct link to the file unless I need to create some sort of Action to handle this properly. I am usi...

Crazy question about website landing

Is it possible for crook to redirect website site/landing to your domain to elsewhere? Say, a visitor's intended website is, knowledgenotebook.com, but the crook redirected the user to google.com or yahoo.com or anything else? And doing so randomly, so, it can try to avoid detection... Thanks. ...

Subversion: Configure svn access through http protocol

Hello everyone, I got a ubuntu server edition with subversion, apache2, openssh and need repositories for svn connection with/without any protocol (ssh, file:, http, https, etc). I configured a repository directory svnadmin create /path/to/repos/project Made an import svn import /path/to/import/directory svn+ssh://user@ipaddress/pat...

Subversion: good practices to administrate users and groups with the repositories

How should I administrate users and groups with the repositories? Until now users can access the server repositories through http. The tag configuration it inside /etc/apache2/mods-available/dav_svn.conf <Location /srv/svn/> DAV svn SVNPath /srv/svn/projecX #SVNParentPath /srv/svn #if I have more the one repository inside the folder Au...

Problem reading URL with Python. Code opens up any other URL. Possible Header or Cookie problem.

Using python urllib or urllib2, for the life of me, I can not read the following URL: http://celem.michoacan.gob.mx/celem/publica/ficha_informativa_ordenamiento.jsp?p_id_ordenamiento=478 This page reads fine with Firefox or IE. I tried spoofing the User-Agent to simulate Firefox to no avail. This site uses cookies. I also tried using th...

output specific HTTP header

What is the code to output a specific HTTP header e.g. x-adexpert-id ...

extract header info from a get request on a remote URL in asp.net?

Hi, I want to perform a get request on a remote URL and then extract the headers returned. Thanks for any help! ...

How to download web content using C?

I have to write a C parser for online blogs and different word manipulation features. I know how to parse / tokenise stings in C, but how would you on execution download the pages content to a local /tmp directory as an HTML file so I can save the information (the blogs) into a string using I/O? Or, just grab the block of text directly...

Why is HttpURLConnection.getResponseCode() returning 1?

I have a piece of Java code that opens a HTTP connection, writes data on that and then retrieves the response code. Since, the connectin was fine it should get HTTP_OK (i.e 200) but it is getting 1 in return. This is baffling as 1 appears nowhere in the Http Response code specification. Could anyone throw some ideas on the potential pro...

Empty Content returned from Web Server (Big/IP+IIS7)

Occasionally, individual users will receive "blank pages" from our web server on login. It only happens to individual users, not all users at a given time. Using the same account from a different machine may or may not reproduce the problem. Using a different account from the same machine usually works. The problem will often go away o...

how to create a http server that would handle http requests

Hi all, I am aware of apache web server, i can host web pages. how to create a http page(server) that would handle http post requests and respond to those requests. ...

Who Add "_" Single Underscore Query Parameter?

I have a PHP server running on Apache, I get lots of request looks like this, 10.1.1.211 - - [02/Sep/2010:16:14:31 -0400] "GET /request?_=1283458471913&action=get_list HTTP/1.1" 200 547 0 "http://www.example.com/request" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)" 28632...

HTTP requests from app disappearing between sender's network/proxy and our web host

I don't have very much information to work with here, yet. Our app sends an HTTP query to our server, and in all the cases we've used until now it has worked fine. But for one client, whose network goes through a proxy, their logs indicate that the request goes out successfully, but no reply ever returns, and our web server shows nothi...

Is it O.K. if our RESTful Web Service doesn't support XML?

Our web service only supports JSON. We respond with JSON if we can or respond with an HTTP Error 406: Not acceptable if the client asks application/xml... Is it still considered RESTful? ...