You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@abdera.apache.org by "Reese, Nathan" <nr...@integrity-apps.com> on 2010/07/29 16:51:11 UTC

EntryRequestProcessor and MediaRequestProcessor do not support POST

Is there a reason why the EntryRequestProcessor and MediaRequestProcessor processEntry methods do not handle POST requests?  This seems like a bug to me.  I am using abdera 1.1 release.

String method = context.getMethod();
if (method.equalsIgnoreCase("GET")) {
   return adapter.getEntry(context);
} else if (method.equalsIgnoreCase("PUT")) {
   return adapter.putEntry(context);
} else if (method.equalsIgnoreCase("DELETE")) {
   return adapter.deleteEntry(context);
} else if (method.equalsIgnoreCase("HEAD")) {
   return adapter.headEntry(context);
} else if (method.equalsIgnoreCase("OPTIONS")) {
   return adapter.optionsEntry(context);
} else {
   return null;
}

Nathan

RE: EntryRequestProcessor and MediaRequestProcessor do not support POST

Posted by "Reese, Nathan" <nr...@integrity-apps.com>.
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
 
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
<nr...@integrity-apps.com> wrote:
> Is there a reason why the EntryRequestProcessor and MediaRequestProcessor processEntry methods do not handle POST requests?  This seems like a bug to me.  I am using abdera 1.1 release.
>
> String method = context.getMethod();
> if (method.equalsIgnoreCase("GET")) {
>   return adapter.getEntry(context);
> } else if (method.equalsIgnoreCase("PUT")) {
>   return adapter.putEntry(context);
> } else if (method.equalsIgnoreCase("DELETE")) {
>   return adapter.deleteEntry(context);
> } else if (method.equalsIgnoreCase("HEAD")) {
>   return adapter.headEntry(context);
> } else if (method.equalsIgnoreCase("OPTIONS")) {
>   return adapter.optionsEntry(context);
> } else {
>   return null;
> }
>
> Nathan
>


RE: EntryRequestProcessor and MediaRequestProcessor do not support POST

Posted by "Reese, Nathan" <nr...@integrity-apps.com>.
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
 
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
<nr...@integrity-apps.com> wrote:
> Is there a reason why the EntryRequestProcessor and MediaRequestProcessor processEntry methods do not handle POST requests?  This seems like a bug to me.  I am using abdera 1.1 release.
>
> String method = context.getMethod();
> if (method.equalsIgnoreCase("GET")) {
>   return adapter.getEntry(context);
> } else if (method.equalsIgnoreCase("PUT")) {
>   return adapter.putEntry(context);
> } else if (method.equalsIgnoreCase("DELETE")) {
>   return adapter.deleteEntry(context);
> } else if (method.equalsIgnoreCase("HEAD")) {
>   return adapter.headEntry(context);
> } else if (method.equalsIgnoreCase("OPTIONS")) {
>   return adapter.optionsEntry(context);
> } else {
>   return null;
> }
>
> Nathan
>


Re: EntryRequestProcessor and MediaRequestProcessor do not support POST

Posted by ant elder <an...@apache.org>.
Many thanks for the fix, i guess we should be able to do a 1.1.1
maintenance release to include that, i'll go bring it up on the dev
list.

   ...ant

On Thu, Aug 12, 2010 at 4:22 PM, Reese, Nathan
<nr...@integrity-apps.com> wrote:
> 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
>
> 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
> <nr...@integrity-apps.com> wrote:
>> Is there a reason why the EntryRequestProcessor and MediaRequestProcessor
>> processEntry methods do not handle POST requests?  This seems like a bug to
>> me.  I am using abdera 1.1 release.
>>
>> String method = context.getMethod();
>> if (method.equalsIgnoreCase("GET")) {
>>   return adapter.getEntry(context);
>> } else if (method.equalsIgnoreCase("PUT")) {
>>   return adapter.putEntry(context);
>> } else if (method.equalsIgnoreCase("DELETE")) {
>>   return adapter.deleteEntry(context);
>> } else if (method.equalsIgnoreCase("HEAD")) {
>>   return adapter.headEntry(context);
>> } else if (method.equalsIgnoreCase("OPTIONS")) {
>>   return adapter.optionsEntry(context);
>> } else {
>>   return null;
>> }
>>
>> Nathan
>>
>
>
>
>

RE: EntryRequestProcessor and MediaRequestProcessor do not support POST

Posted by "Reese, Nathan" <nr...@integrity-apps.com>.
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
 
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
<nr...@integrity-apps.com> wrote:
> Is there a reason why the EntryRequestProcessor and MediaRequestProcessor processEntry methods do not handle POST requests?  This seems like a bug to me.  I am using abdera 1.1 release.
>
> String method = context.getMethod();
> if (method.equalsIgnoreCase("GET")) {
>   return adapter.getEntry(context);
> } else if (method.equalsIgnoreCase("PUT")) {
>   return adapter.putEntry(context);
> } else if (method.equalsIgnoreCase("DELETE")) {
>   return adapter.deleteEntry(context);
> } else if (method.equalsIgnoreCase("HEAD")) {
>   return adapter.headEntry(context);
> } else if (method.equalsIgnoreCase("OPTIONS")) {
>   return adapter.optionsEntry(context);
> } else {
>   return null;
> }
>
> Nathan
>




Re: EntryRequestProcessor and MediaRequestProcessor do not support POST

Posted by ant elder <an...@gmail.com>.
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
<nr...@integrity-apps.com> wrote:
> Is there a reason why the EntryRequestProcessor and MediaRequestProcessor processEntry methods do not handle POST requests?  This seems like a bug to me.  I am using abdera 1.1 release.
>
> String method = context.getMethod();
> if (method.equalsIgnoreCase("GET")) {
>   return adapter.getEntry(context);
> } else if (method.equalsIgnoreCase("PUT")) {
>   return adapter.putEntry(context);
> } else if (method.equalsIgnoreCase("DELETE")) {
>   return adapter.deleteEntry(context);
> } else if (method.equalsIgnoreCase("HEAD")) {
>   return adapter.headEntry(context);
> } else if (method.equalsIgnoreCase("OPTIONS")) {
>   return adapter.optionsEntry(context);
> } else {
>   return null;
> }
>
> Nathan
>