Hi every one, ive been struggling with uploadify. on some pages it outputs 408 error message. The oncomplete is never called and checking the modsec_log i get this
modsec_debug.log:[09/Jul/2010:01:02:04 --0500] [www.veepiz.com/sid#118091f0][rid#1202cbe8][/pupload.php][1] Exec: Execution failed while reading output: /usr/bin/modsec-clams...
Hello all
i have noticed certain sites which allows limited hit per IP
so can i programatically make them feel that requests are not coming from the same IP ,
well i am not much sure abot HTTP packet, but can we specify it in header or somewhere to make them fool
here is the code for GET Request
public static String sendGe...
I read somewhere they said that HTTP_X_FORWARDED_FOR is not a trusted variables when you want to log the user's IP because they can change that. Is it real? And how?
Thanks a lot!
...
When creating search forms in web pages, I generally use the GET method. This allow the results to be URI Addressable. It also makes for easy pagination of results in the standard manner.
But what about a form with a large number of options and fairly long field names? Using a GET request means that the URL of the results page can actua...
I am developing an Android app which enables the user to upload a file to services like Twitpic and others.
The POST upload is done without any external libraries and works just fine. My only problem is, that I can't grab any progress because all the uploading is done when I receive the response, not while writing the bytes into the outp...
I am looking for a library or function call in python or an associated library that would let me feed in a raw stream of text data representing an HTTP req/res and that would spit out that information is some sort of meaningful form like a dictionary or list. I do not want to use some built in class or create a bunch of new objects, in m...
There are some checkboxes in a form, so the post data is:
type: flowers
color[]: red
color[]: white
color[]: blue
My code is:
Net::HTTP.post_form(URI.parse("http://xxx"), { :type=>'flowers',
'color[]'=>%w[red white blue] })
It seems there is something wrong with my code, that I can't g...
I'm experiencing the issue documented here:
http://support.microsoft.com/kb/914453
You access Web applications or Web
sites from a Web server that uses
chunked transfer encoding on a
Microsoft Windows Server 2003-based or
on a Microsoft Windows XP-based
computer. Then, the browser or the Web
applications stop responding....
Hello,
Is it possible to gather the HTTP headers in Javascript ?
This is just a thought of mine after using Firebug for days
In one of the posts I came to know that, it is impossible to find the HTTP headers in Javascript,
whereas in firebug, we can see the response headers ( client side )
so my doubt is can we cache the HTTP hea...
Is there any data regarding how browsers actually support rest http verbs (especially PUT, DELETE). This question is mostly motivated by the fact that many sources (such as this stackoverflow answer) inform that most browsers don't suport PUT and DELETE but don't say which.
Rails solves this using a patch on the client, and reversing th...
Here is the code I'm using to create my multithreaded httpclient object. I'm trying to have a 4 second timeout across the board so if nothing happens for 4 seconds to drop the requests. I'm seeing really long execution times on some requests like in the 300 second range. I can't seem to figure out why that's happening. Any ideas?
HttpPa...
I want to duplicate a HTTP POST request from a form which includes file elements, as if there were just 2 action attributes with different targets on the form element.
So far I have not been able to do this successfully with cURL for one reason or another, so I'm looking for alternatives (that don't use the cURL library what-so-ever, t...
Something's wrong with the PUT action here, the form gets processed but the updated field is not being saved.
I've did what Sinatra users are doing, by adding in "_method" for Sinatra to recognise that's its a HTTP PUT action. Could anyone spot any mistake here?
# edit
get '/entries/*/:id/edit' do
@entry = Entries.get(params[:id])
...
Hey All,
I have been playing with Solex, http://solex.sourceforge.net/ ... quite a cool Eclipse plugin that allows you to record and playback HTTP traffic, make assertions, request-time header mods based on variables pulled from prior requests (via regexp, XPath).
All in all, quite impressed; However, I can not see any method for runti...
I'm trying to read a binary file from a URLConnection. When I test it with a text file it seems to work fine but for binary files it doesn't. I'm using the following mime-type on the server when the file is send out:
application/octet-stream
But so far nothing seems to work. This is the code that I use to receive the file:
file = Fil...
Hello, how can I replace screen resolution when accessing some site from script? Is it possible to acces such data when own script connects to the server?
...
I'm writing a web app that serves H.264 encoded MP4 video. In Chrome and Safari, it does this via an HTML5 video tag.
In order to control access to these videos, their contents are served via PHP using a really simply mechanism:
header('Content-type: video/mp4');
readfile($filename);
exit;
No matter what I do, the videos will not str...
I have a scraper, which queries different websites. Some of them varyingly use Content-Encoding. And since I'm trying to simulate an AJAX query and need to mimic Mozilla, I need full support. There are multiple HTTP libraries for Python, but neither seems complete:
httplib seems pretty low level, more like a HTTP packet sniffer really.
...
I'm having some trouble sending $_FILES by cURL - the files get transferred alright using the following code, however it is impossible for me to get the name, and type of the file, in fact once the $_FILES reach their destination their type is stored as "application/octet-stream" - what am I doing wrong!?
$count=count($_FILES['thefile...
I am designing a REST api for one of my applications & considering using RoR for the same and had a few questions that I was wondering if Rails can support before I can decide on RoR -
1) does rails support setting HTTP response code status. So I want something like this
if customer_save_fail
response.status_code = 500
end
2) in rai...