Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 70D5369F2 for ; Sat, 18 Jun 2011 05:54:00 +0000 (UTC) Received: (qmail 57666 invoked by uid 500); 18 Jun 2011 05:53:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57251 invoked by uid 500); 18 Jun 2011 05:53:53 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57240 invoked by uid 99); 18 Jun 2011 05:53:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 05:53:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nerther@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2011 05:53:44 +0000 Received: by vxc11 with SMTP id 11so694972vxc.18 for ; Fri, 17 Jun 2011 22:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9T8cR31/0ZAzkOrg3ERQ11t/9EV/Aa3oSIWP4kdyheM=; b=VCIle+kRaUAx95j2ExT12hMY69YVOp97MFI7vqmsyu5FvzE/CEoeHl4HixoqD/yjmB trl6RP6ugKozQa2rnx0Th2l12qTwmQCE82pEQSsuGATWjvLrjTTJe5HLXqbfG5/IDmnb WlieqKWLpwjUZ3UBUtw0peTEEsaWEeocC5fE0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y88f+AdlEHPcgbLDuLEsxE/nTVd7RGckaQkqW43/Oszbp+ds46b3aSvqe+Z6k/KgFu vXl01I0c/kSieGBGDc6z7/N/IvZAg6btKpTZrCvZ4nD315u0/o9z27c+Kiowp/AYcLK0 Qw83lIFuI2E1oj0QwLrVz0kti3170M7DEtqx8= MIME-Version: 1.0 Received: by 10.52.98.97 with SMTP id eh1mr4302154vdb.7.1308376404155; Fri, 17 Jun 2011 22:53:24 -0700 (PDT) Received: by 10.52.159.201 with HTTP; Fri, 17 Jun 2011 22:53:24 -0700 (PDT) In-Reply-To: References: Date: Sat, 18 Jun 2011 13:53:24 +0800 Message-ID: Subject: Allow Servlet to Control "100-continue" response From: Rehtron To: users@tomcat.apache.org Content-Type: multipart/alternative; boundary=20cf307d046ccd5bbf04a5f61e69 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307d046ccd5bbf04a5f61e69 Content-Type: text/plain; charset=ISO-8859-1 Hi Currently if a client supplies the "Expect: 100-continue" header on a POST or PUT, Tomcat appears to send the response header ("100-continue") before passing control to the servlet. I need to use the servlet to control this response and accept/reject the request before receiving the request content, Is there anyone could give me some advice? Thanks. --20cf307d046ccd5bbf04a5f61e69--