Questions tagged [http-request]

HTTP Request is a message within a request/response sequence, according to HTTP specification. May also refer an HttpRequest class in software frameworks and libraries that automates relevant functionality

From W3C specification:

A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.

    Request       = Request-Line              ;
                    *(( general-header        ;
                     | request-header         ;
                     | entity-header ) CRLF)  ;
                    CRLF
                    [ message-body ]          ;

See also:

355 questions
2
votes
1 answer

retrieving partial content using multiple http requsets to fetch data via parllel tasks

i am trying to be as thorough as i can in this post, as it is very important for me, though the issue is very simple, and only by reading the title of this question, you can get the idea... question is: with healthy bandwidth (30mb Vdsl)…
2
votes
3 answers

Should CFHTTP be used to make local server calls?

I've heard that CFHTTP calls that point to a local server can cause additional delays for the user. As this is a HTTP request, it seems to me that any delays would be negligible - though I don't know a whole lot about networking/systems and…
joncarlson
  • 165
  • 8
2
votes
1 answer

HTTP Requests in JSF

I have an JSF web application that needs to get some information from a native android app. I've read about creating HTTP requests in android, and I think I can figure it out, but I have no clue on what to do on the JSF side of things. Do I create…
SikhWarrior
  • 1,037
  • 5
  • 17
  • 34
2
votes
1 answer

How to define my string and type of encoding. NSString -NSSdata

I am trying to post a string with 2 values to a URL. To define my string I am using: NSString *post = [NSString stringWithFormat:@"...."]; NSData *postData = [post dataUsingEncoding: .... allowLossyConversion: NO]; The string I want to post is this…
2
votes
1 answer

PHP: HTTP_Request2 gives zero content length

I want to POST using HTTP_Request2 Pear Class. I was succefull when I used cURL to do the same, but I dont get response data when I use HTTP_Request. It says content length as 0. I read the PEAR documentation for HTTP_Request2 and followed it to…
Pranjal
  • 65
  • 8
2
votes
2 answers

Can IIS reject request by header value instead of waiting for entire request to be uploaded?

While it's understood that we can configure IIS on two different levels for basically the same thing using MaxRequestLength and MaxAllowedContentLength (here), it is clear that IIS actually accepts (waits until it's downloaded) the entire request…
tishma
  • 1,855
  • 1
  • 21
  • 43
2
votes
1 answer

Parse http request server side using http components

HI I am teaching myself android development.To start with, I have implemented a webserver on android using apache http utils, which serves a login page when browsed to localhost:8080 on emulator. I would like to know how can I parse the login…
kalz
  • 173
  • 3
  • 21
2
votes
2 answers

Parse incoming http post request java android

I am working on an Android web server.When i go to localhost:8080 on the emulator browser, it serves a page/form with a password field. On successful verification of the password, I would like to redirect the user to the success/failure page.What…
kalz
  • 173
  • 3
  • 21
2
votes
3 answers

How to configure PHP or Apache for non blocking http requests

I have apache as http server and php, i sent about 5 simultaneous requests from browser to this php script which has a for loop, which takes long time to complete, I saw all the concurrent requests are blocked and served sequentially. How to…
Buddhi
  • 2,224
  • 5
  • 32
  • 43
2
votes
1 answer

Inputing test cases into TestRail

Has anyone worked with TestRail? If so, I would love some help in figuring out to format the HTTP requests that I am supposed to send in order to create the test cases. I've looked over the documentation the TestRail API, but the documents aren't…
BlackHatSamurai
  • 23,275
  • 22
  • 95
  • 156
2
votes
2 answers

Videos Don't Load in Chrome

On a page with 3 videos embedded, there are times when any of them may not load. On one page load, I might get all three. On another, I might get none. Usually, it's somewhere in between. These videos are hosted by Longtail Video Bits on the Run,…
Ryan Kinal
  • 17,414
  • 6
  • 46
  • 63
2
votes
2 answers

Make multiple NSURLConnections and using sendAsynchronousRequest:queue:completionHandler: iOS 5 method

I have some difficulties to set up the correct configuration relative to sendAsynchronousRequest:queue:completionHandler: method (NSURLConnection class). My scenario is the following: I set up a singleton class that manages different…
Lorenzo B
  • 33,216
  • 24
  • 116
  • 190
1
vote
2 answers

how to get/ask only status code for a httpRequest with android?

My question is pretty similar to that except but I need only the header of the response in order to reduce battery consomation.
Christophe Debove
  • 6,088
  • 20
  • 73
  • 124
1
vote
1 answer

Python requests library not following 302 properly?

I am using the requests library to try and post on a phpBB forum. My code looks something like the following: self.r = requests.session() d = self.r.get('http://examplephpbbforum.com/community/posting.php?mode=reply&f=' + forumid + '&t=' +…
1
vote
2 answers

Http request tool that will show the actual request (trouble with the Firefox plugin Poster)

I am trying to connect my common lisp application to a Drupal driven server site using http-post and I am having trouble debugging my request. When I use the Firefox plugin Poster to make the request everything works fine but when I make the…
Mike2012
  • 7,629
  • 15
  • 84
  • 135