http

how can i invoke facebook http rest api whitout facebook api lib's (java or C++)

Hi i like to preform simple facebook api call via http rest but whiteout using facebook java/c++ pre made lib plain http call i already done the authorization part and i have the session id and all that . i just like to see what i need to preform api call over http thanks ...

Building a webserver, client doesn't acknowledge HTTP 200 OK frame.

Hi there, I'm building my own webserver based on a tutorial. I have found a simple way to initiate a TCP connection and send one segment of http data (the webserver will run on a microcontroller, so it will be very small) Anyway, the following is the sequence I need to go through: receive SYN send SYN,ACK receive ACK (the connection ...

Why is ServerVariables["HTTP_REFERER"] skipping a page?

Here is my situation: Page1.aspx redirects to Page2.aspx which does some processing (does not display to the user) and then redirects to Page3.aspx which checks the ServerVariables["HTTP_REFERER"] or Request.UrlReferrer. I understand that the referring information can sometimes be blank and can't be entirely relied upon; however the Se...

itunes http link to apps with a keyword

Is there a way to generate an http link which will open iTunes to the results of a query for apps with a specific keyword. I have a number of apps and I want my users from my web site to see those with a common keyword. So not to my full list by default. ...

How can I set Transfer-Encoding to chunked, explicitly or explicitly, in an ASP.NET response?

Can I simply set the Transfer-Encoding header? Will calling Response.Flush() at some point cause this to occur implicitly? EDIT No, I Cannot call Response.Headers.Add("Transfer-Encoding","anything"); That throws. any other input? Related: Enable Chunked Transfer Encoding in ASP.NET ...

RFC2616 : Do I really need to set WWW_Authenticate when returning 401?

According to RFC2616 if I return 401 in response to a request to my (Ruby) server, I "MUST include a WWW-Authenticate header field." Is this really true? Not setting the header seems to have no negative impact. I'm using Merb as a web framework and it doesn't force me to set the header. Am I missing something or is this a rule more hono...

Web Application Nat Traversal

We are deploying web applications in java using tomcat on client machines across the country. Once they are installed, we want to allow a remote access to these web applications through a central server, but we do not want our clients to have to open ports on their routers. Is there a way to tunnel the http traffic in a way that the c...

How can I view the all inherited url-resolution rules affecting a given directory?

I work on two sites hosted on the same server, using the same CMS configurations and identical .htaccess files in their respective document roots. One site is letting me use the CMS's clean-url mode, and the other isn't. Site #2 functions fine in ?=messy-url mode, but when I turn clean urls on in the admin panel, and request a rewritten ...

Getting content from PHP: Trouble with POST and query.

Apologies for my longest question on SO ever. I'm trying to interface with a php frontend for a mysql database in ROOT (a CERN framework in C++ for high energy physics analysis). To start off with, I tried to get this php interface to play nice with wget and curl first because I'm more familiar with them. The following command works: wg...

Which Web Application Frameworks enforce HTTP's TCP connection limit of two per client /server?

The HTTP 1.1 RFC restricts a Client from using more than Two TCP connections between any Client and Server. I want to know which Web Application Frameworks enforce this restriction. Regards ...

Question about a http form GET method, using query arguments

I am looking at a bug in WebSVN where when I get into a file log and click on compare, it looses the repository name as part of the request. The details are unimportant. However, I've tracked down the bug to a http form that looks like this: <form method="get" action="comp.php?repname=Binaries&amp;" id="compare"> .... <input type="...

How to make from your Custom HTTP Module a stand alone HTTP server?

How to make from your Custom HTTP Module a stand aloun TCP\HTTP server capable of for example runing near to any other HTTP server (on same port, just taking some URL namespace like www.example.com/myModule/blabla?id=anyID, and not beeng rood to my other servers like apache HTTP server with PHP (so I can steel call it www.example.com/myA...

Webserver sending corrupt or corrupting served files

EDIT: Looks like the problem was a rootkit that corrupted a bunch of low level linux commands, including top, ps, ifconfig, netstat and others. The problem was resolved by taking all web files off the server and wiping it. A dedicated server we operate is having a strange issue. Files are not be sent complete or are showing up with ga...

For HTTPS, will connection made to different subdomain in page iframe generate warnings?

If I have a web page served from https://mydumbwebsite.com, and it has an iframe in it that serves from https://subdomain.mydumbwebsite.com, should I expect a significant number of browsers (like >1% of the current browsers in use) to show a security warning? Please don't guess at this. I would like an answer based on real-world experi...

Efficient reliable incremental HTTP multi-file (or whole directory) upload software

Imagine you have a web site that you want to send a lot of data. Say 40 files totaling the equivalence of 2 hours of upload bandwidth. You expect to have 3 connection losses along the way (think: mobile data connection, WLAN vs. microwave). You can't be bothered to retry again and again. This should be automated. Interruptions should not...

Does mod_php honor HEAD requests properly?

The HTTP/1.1 RFC stipulates "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response." I know Apache honors the RFC but modules don't have to. My question is, does mod_php5 honor this? The reason I ask is because I just came across an article saying that PHP developers should check this ...

Why am I getting "(304) Not Modified" error on some links when using HttpWebRequest?

Hi, Any ideas why on some links that I try to access using HttpWebRequest I am getting "The remote server returned an error: (304) Not Modified." in the code? The code I'm using is from Jeff's post here. Note the concept of the code is a simple proxy server, so I'm pointing my browser at this locally running piece of code, which gets ...

Getting the location from a WebClient on a HTTP 302 Redirect?

I have a URL that returns a HTTP 302 redirect, and I would like to get the URL it redirects to. The problem is that System.Net.WebClient seems to actually follow it, which is bad. HttpWebRequest seems to do the same. Is there a way to make a simple HTTP Request and get back the target Location without the WebClient following it? I'm t...

Sending data to a web site over HTTP

i have a program that receives data from a wireless device over bluetooth...i now need to do some operations in the data and then send it to the website (web server!!!) as a .csv file...i also need to authenticate the device itself from it hardware address which is also obtained in the program.i am coding this in gcc linux compiler using...

Website stress test in Python - Django

Hi folks, I'm trying to build a small stress test script to test how quickly a set of requests gets done. Need to measure speed for 100 requests. Problem is that I wouldn't know how to implement it, as it would require parallel url requests to be called. Any ideas? ...