Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6535049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:19:32+00:00 2026-05-25T10:19:32+00:00

I use apache httpdefault client and execute post function as below HttpResponse imToken =

  • 0

I use apache httpdefault client and execute post function as below

HttpResponse imToken = httpClient.execute(httpPostIM);

the response obtained is

HTTP/1.1 100 Continue
Connection: keep-alive

followed by:

HTTP/1.1 200 OK
Date: Tue, 30 Aug 2011 19:11:35 GMT

How do we handle this from client side ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:19:33+00:00Added an answer on May 25, 2026 at 10:19 am

    Here’s the definition of response 100 from w3 and here’s a good sample of what the response looks like. To quote:

    The client SHOULD continue with its request. This interim response is used to inform the client that the initial part of the request has been received and has not yet been rejected by the server. The client SHOULD continue by sending the remainder of the request or, if the request has already been completed, ignore this response. The server MUST send a final response after the request has been completed. See section 8.2.3 for detailed discussion of the use and handling of this status code.

    So if your client has already sent the entire request then it should just wait the server out until it gives a 200 or other “final” response.

    According to the Apache HttpClient code, you don’t have to do anything because the client ignores all 1XX response codes and continues to look for a final response. This is from commons-httpclient-3.1 in the class HttpMethodBase:

    if ((status >= 100) && (status < 200)) {
        if (LOG.isInfoEnabled()) {
            LOG.info("Discarding unexpected response: " +
                this.statusLine.toString()); 
        }
        this.statusLine = null;
    }
    

    If you are not seeing this behaviour then maybe you need to increase your client timeout? Maybe it isn’t waiting long enough?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use apache commons http client to send data via post every second, is
I use Apache's DefaultHttpClient() with the execute(HttpPost post) method to make a http POST.
We have several applications that use Apache HTTPClient 3 to make HTTP requests. Recently
I'm trying to use the StringEscapeUtils.escapeXML() function from org.apache.commons.lang... There are two versions of
I'm trying to configure Apache Tomcat to use SSL connection with client authentication (two
Is it possible to use Apache Subversion (SVN) as general purpose backup tool? (As
I'm trying to create a self signed certificate for use with Apache Tomcat 6.
I come from a mainly PHP background and make good use of the Apache
I have been looking into IKVMing Apache's FOP project to use with our .NET
is there a chance to use different location for apache's config files (on Windows)?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.