request

Show Curl POST Request Headers? Is there a way to do this?

I'm building a Curl web automation app and am having some issue with not getting the desired outcome of my POST action, I am having some trouble figuring out how I can show the full POST request I am sending over (with headers), I have been searching on this but everything that comes up is the response headers, actually I want these too ...

How to handle post request in python

Hello, how can I handle post request in python script? Somewhere I want to send it from ajax to the python script with given params. What's correct way to handle that data in python? ...

Javascript, UI: Looking for a good list explorer component

Think Windows Explorer's 'Details' view. I need to output my database to this view. Here's what I need: Columns should be horizontally resizeable. Columns should be able to be reordered via. dragging and dropping their headers. I need to be able to sort the data by a given column, like when its header is clicked on (with toggling for...

Django POST sub-dictionaries

I'm making the following request through command-line cURL: curl -X POST http://localhost:8000/api/places/ -vvvv -d "place[name]=Starbucks" However, when I try to access the parameters by calling request.POST.getlist('place') I get an empty array as a response. How can I access the sub-dictionary which I can then pass to the ORM? ...

Java getQueryString

So im trying to capture a certian section of a getQueryString(). I know I could try and go through and parse the string to get the certain section I wanted but was hoping to just be able to grab the piece I need. Here is my query result: N=0&Ntk=General&Ntt=info&Nty=1&D=info&Ntx=mode+matchallpartial&Dx= mode+matchall Im looking just to...

Asp.Net Range-Specific Requests ThreadAbortException Thread was being aborted

I am using class at http://pastebin.com/aK0zcxMN ( a version of http://dotnetslackers.com/articles/aspnet/Range-Specific-Requests-in-ASP-NET.aspx) to protect downloads from leech and provide resume. It works fine but every now and then i get System.Threading.ThreadAbortException: Thread was being aborted. at System.Web.UnsafeNativeMetho...

Get Server IP address from JSP Request/session object

How can I get the IP address of the server from a JSP page? Right now, all I can do is request.getLocalName(), which returns the server name, not the IP address? ...

How to send multiple files with post request? (objective-c, iOS)

Hi, I want to sent post request, but i need to send multiple files, how to do this? tnx ...

Get response from server with Javascript after Javascript request

Hi, My Javascript function request to a aspx page. İts Code : var xhr = ("XMLHttpRequest" in window) ? new XMLHttpRequest() : new ActiveXObject("Msxml3.XMLHTTP"); xhr.open("GET", = 'http://www.example.net/abc.aspx', true); xhr.send(""); After this Request I want to send a response back from this page and catch in client side...

Making HTTPS Requests in Twisted

I am trying to write a client that can make both HTTP and HTTPS requests depending on how it is configured. For normal HTTP, I have been using twisted.web.client.Agent and using agent.request(METHOD, HOST, HEADERS, CONTENT) to make the requests. What I care about is that host field, when I do HTTP it works doing something like "http://lo...

Send a simple GET request

I want to send a server simple GET request but as I see the .ajax sends x-requested-with header which my server doesn't understand. $.ajax({ type: 'GET', url: 'coord-' + x + '-' + y + '-' + iname, success: function(data) { ...

Add a KeyUsage extension on a Bouncycastle certificate request

Hello. Could anyone post a Java code for adding to a PKCS10 bouncycastle certificate request an extension regarding a KeyUsage (for example a KeyUsage.keyEncipherment). I didn't find anything ad i cannot find a proper contructor for X509Extension with a KeyUsage. Thanks ...

connect time from NGINX to PHP via FastCGI

Hi, here's a six core with 32GB ram. I've nginx 0.7.X and php5-fpm with php5.3 (from dotdeb.org). Important config files: nginx.conf user www-data; worker_processes 2; events { worker_connections 4096; } location ~ \.php$ { fastcgi_pass unix:/tmp/fcgi.sock; fastcgi_index index.php; ...

A reasonable number of simultaneous, asynchronous ajax requests

I'm wondering what the consensus is on how many simultaneous asynchronous ajax requests is generally allowable. The reason I ask, is I'm working on a personal web app. For the most part I keep my requests down to one. However there are a few situations where I send up to 4 requests simultaneously. This causes a bit of delay, as the ...

What is the way to do an idempotent HTTP request with data that does not fit in the URL?

So, basically the 255-char limitation of URLs is too short for me, and I don't want to rely on ignoring it. My request will not change anything on the HTTP server end. I need to send some data with request, that is slightly larger than 1024 characters in size and is NOT of secure/secret character. The server will use the data for verifi...

Inserting user credentials in HTTP request header

I'm trying to insert user credentials into an HTTP request header which is then sent via https to a web service, which in turn reads them for authorization purposes... Client and Service are both written in Java. On the client side I do the following: ExampleImplService service = new ExampleImplService(); Example port = service.getExa...

Accessing the exact data sent using WebClient.UploadData on the server

Hey All, Newbie question: I'm sending a large text string in the form of a byte array using the WebClient.UploadData method to a web site but I'm not sure exactly where to retrieve that data from on the server. I've read posts that say it is in the request object which I already know but how exactly do I retrieve the specific byte array...

Extract XML info from feed ?

I try to extract specific data from an xml feed that comes from youtube. XML link: http://gdata.youtube.com/feeds/api/videos/WFPnl8aEPgo?alt=rss I've been able to extract info like: Title, Description using this query string: Dim Title As String = videoInfoNavigator.SelectSingleNode("/item[1]/title").Value However, I'm not ab...

Does AJAX 2.0 + still send full postback on requests

Hello, This is a general question really. I had read some where, it may of been an Microsoft whitepaper or blog I am really not sure as I dont have the link right now. Basically, the person was describing that (of which he referred to AJAX.Net 1.0) when using an update panel, although you would expect only the controls and components a...

GAE WSGIApplication and multiple request

In dev_appserver class MainPage(webapp.RequestHandler): def get(self): self.response.out.write("Hello MainPage") class TestPage(webapp.RequestHandler): def get(self): # 10 seconds i = 1 while True: if i == 10: break time.sleep(1) i = i + 1 application = webapp.WSGIApplication([ ('/', Ma...