Return-Path: Delivered-To: apmail-abdera-user-archive@www.apache.org Received: (qmail 59498 invoked from network); 12 Aug 2010 15:23:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Aug 2010 15:23:56 -0000 Received: (qmail 17968 invoked by uid 500); 12 Aug 2010 15:23:56 -0000 Delivered-To: apmail-abdera-user-archive@abdera.apache.org Received: (qmail 17937 invoked by uid 500); 12 Aug 2010 15:23:55 -0000 Mailing-List: contact user-help@abdera.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@abdera.apache.org Delivered-To: mailing list user@abdera.apache.org Received: (qmail 17927 invoked by uid 99); 12 Aug 2010 15:23:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 15:23:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.15.83.3] (HELO MX1.integrity-apps.com) (208.15.83.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Aug 2010 15:23:49 +0000 Received: from MX1.integrity-apps.com (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id DEC21C325F_C6411F0B; Thu, 12 Aug 2010 15:23:28 +0000 (GMT) Received: from exchange.integrity-apps.com (208-15-83-4.integrity-apps.com [208.15.83.4]) by MX1.integrity-apps.com (Sophos Email Appliance) with ESMTP id 5A690C0511_C6411EFF; Thu, 12 Aug 2010 15:23:27 +0000 (GMT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB3A32.4FE30F22" Subject: RE: EntryRequestProcessor and MediaRequestProcessor do not support POST Date: Thu, 12 Aug 2010 11:22:47 -0400 Message-ID: <99A62CE908C19D419B548435838136CF5426E4@exchange.integrity-apps.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: EntryRequestProcessor and MediaRequestProcessor do not support POST Thread-Index: Acs546gGOtHO+V/RQvmnQC7xyA9UjgATpBBl References: <99A62CE908C19D419B548435838136CF5426AB@exchange.integrity-apps.com><99A62CE908C19D419B548435838136CF5426AD@exchange.integrity-apps.com><99A62CE908C19D419B548435838136CF5426B8@exchange.integrity-apps.com> From: "Reese, Nathan" To: , ------_=_NextPart_001_01CB3A32.4FE30F22 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ant, I have created a jira for this issue. = https://issues.apache.org/jira/browse/ABDERA-262 I have attached the fixed class and corresponding unit tests. Is there = anyway that I can get a 1.1.1 release with these fixes? Thanks, Nathan -----Original Message----- From: ant elder [mailto:ant.elder@gmail.com] Sent: Thu 8/12/2010 1:59 AM To: user@abdera.apache.org Subject: Re: EntryRequestProcessor and MediaRequestProcessor do not = support POST =20 That looks like a bug to me too. Please raise a JIRA for it...and if you'd like to contribute a fix that would be wonderful. ...ant On Thu, Jul 29, 2010 at 3:51 PM, Reese, Nathan wrote: > Is there a reason why the EntryRequestProcessor and = MediaRequestProcessor processEntry methods do not handle POST requests? = =A0This seems like a bug to me. =A0I am using abdera 1.1 release. > > String method =3D context.getMethod(); > if (method.equalsIgnoreCase("GET")) { > =A0 return adapter.getEntry(context); > } else if (method.equalsIgnoreCase("PUT")) { > =A0 return adapter.putEntry(context); > } else if (method.equalsIgnoreCase("DELETE")) { > =A0 return adapter.deleteEntry(context); > } else if (method.equalsIgnoreCase("HEAD")) { > =A0 return adapter.headEntry(context); > } else if (method.equalsIgnoreCase("OPTIONS")) { > =A0 return adapter.optionsEntry(context); > } else { > =A0 return null; > } > > Nathan > ------_=_NextPart_001_01CB3A32.4FE30F22--