I try to send http request like:
"POST http://api.facebook.com/restserver.php?method=facebook.users.setStatus&api_key=762ec91e7987aaeaee7e2cdfdfcb3c30&call_id=$call_id&sig=$s&v=1.0&uid=1533439618&status=44 HTTP/1.1";
but I receive nothing...
in twitter I success:
"POST ht tp://twitter.com/statuses/update.xml?...
i want to redirect the page by using header tag but its not working
...
How to check the what all properties(Secure,HttpOnly) are set for a cookie using Classic ASP or JavaSript?
...
I have a scraping object basically. I want to be able to add POST variables to it like
$obj->addvar('Name', 'Value');
What I have now is this:
function addvar($var, $val) {
$postvars[] = Array($var=>$val);
}
function initiate() {
$this->q = $postvars;
}
if(!empty($this->post)) {
$this->params = http_build_query...
I'm using HttpListener. I want to only process requests however that come locally, not from another machine/server.
How would I programmatically verify if an incoming request is local for sure? For example would it be using some of the HttpListenerRequest members?
...
Hi!
When Im using AvAudioPlayer (Iphone) for streaming music from http it takes about 7 seconds until it starts playing. If Im using AudioQueue (about 8 buffers) instead the number of seconds is about 3 for the same song.
Is this because AvAudioPlayer is using a larger buffer internally? Is there any way of speeding up AvAudioPlayer?
...
I would like to implement the following simple pattern in an android app:
Activity A starts activity B
In activity B the user fills out a simple form F, then hits submit
Activity B then starts an AsyncTask C that posts F to a url, and immediately returns to Activity A
Back in activity A, the user continues with business as usual while ...
I am trying to call iPhone zLib to decompress the zlib stream from our HTTP based server, but the code always stop after finishing the first zlib block.
Obviously, iPhone SDK is using the standard open Zlib. My doubt is that the parameter for inflateInit2 is not appropriate here.
I spent lots of time reading the zlib manual, but it is...
Hello,
looking for some help with images referenced within the stylesheet. I have no problems with these from non secure locations within the site but only from https. The stylesheet loads fine and displays everything correctly except for the images.
example:
body {
margin: 0;
padding: 0;
background: url(/img/background_tile.gif) top ...
What way is the best way to let users upload large files from there webbrowser to a server. I'm talking 200MB+ possible up to a few gigatyes. I have been thinking of a few possible solutions to the problem (not tried them yet) and this is basically the things I came up with. Server download speed will not be a problem but the users conne...
I'd like to make a cURL request that accepts a gzip'ed page. I would then like to unzip the page and process it. I haven't been able to find any ready built examples, so I would like a quick one. Any settings that need to be adjusted, making the actual request, and decompressing the contents.
...
Hi,
I have one swf and a program to load this swf. The swf is put in a server. I encounter a weird problem that if I put this swf in serverA, each time my program will issue a http request to that webserver(with 304 response).
But when I move the swf from serverA to serverB, some weird things happen, the progrom will only issue the fir...
Hey can any one tell me should i need open a port for outgoing request on http?
...
Is it possible to know that a HTTP request is from Ajax?If yes, how?
...
Hi folks,
NodeJS is a fantastic tool and blazing fast.
I'm wondering if HTTPClient supports cookies and if can be used in order to simulate very basic browser behaviour!
Help would be very much appreciated! =)
EDIT:
Found this: node-httpclient (seems useful!) not working!
...
I can do File.size(path) to get the size of a file in bytes. How do I get the size of an HTTP response without writing it to a tempfile?
...
Is there any way to use an Adobe AIR application as a local http server? i.e. Adobe AIR application listening to http://localhost:8020 and I'm able to use a browser to access the application? If I can, is it true or pseudo multithreading?
Is there any library or code that I can look for?
...
Hi everyone,
In my asp .net project, my main page receives URL as a parameter I need to download internally and then process it. I know that I can use WebClient's DownloadFile method however I want to avoid malicious user from giving a url to a huge file, which will unnecessary traffic from my server. In order to avoid this, I'm looking...
Hi,
I am looking for HTTP parsing library for C/C++.
I have looked curl library, but it seems it is a http client library.
I am looking for a library which parses HTTP header (e.g. a way to
get the query string, get cookie, get request url, get Post Data)?
Thank you.
...
I have a large PHP application. After I changed some settings I get a redirection loop (i.e. the browser is redirected to the same page over and over again).
The problem is that I don't know which command (which line in which PHP file) in this application causes the redirect. Is there a way to trace calls to the header() function? Or - ...