Skip Menu |

This queue is for tickets about the REST-Client CPAN distribution.

Report information
The Basics
Id: 124620
Status: open
Priority: 0/
Queue: REST-Client

People
Owner: Nobody in particular
Requestors: perl [...] 1ster.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Please allow using the LIST HTTP method
Date: Wed, 28 Feb 2018 16:24:13 +0100
To: <bug-REST-Client [...] rt.cpan.org>
From: <perl [...] 1ster.de>
Hi, Please can REST::Client (latest version 273) be changed to allow the LIST method. Or possibly the check for methods can be relaxed in a way that any not-so-common or new methods can be used. Thanks & Regards Markus
Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method
Date: Wed, 28 Feb 2018 10:54:40 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
Hi Markus, Can you point me at the RFC or documentation that indicates LIST as a valid HTTP request method? A cursory look at the HTTP 1/2 specs don't have it. Thanks, Kevin On Wed, Feb 28, 2018 at 10:40 AM, perl@1ster.de via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Wed Feb 28 10:40:58 2018: Request 124620 was acted upon. > Transaction: Ticket created by perl@1ster.de > Queue: REST-Client > Subject: Please allow using the LIST HTTP method > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: perl@1ster.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > Hi, > > Please can REST::Client (latest version 273) be changed to allow the LIST > method. Or possibly the check for methods can be relaxed in a way that any > not-so-common or new methods can be used. > > Thanks & Regards > Markus >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method
Date: Wed, 28 Feb 2018 11:10:21 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
My bad, it seems that custom verbs have been allowed since HTTP 1.1... I think I will create a flag on the request method that that will cause it to ignore the valid verb check and send any verb you pass it. Let me look at it and get back to you. Thanks, Kevin On Wed, Feb 28, 2018 at 10:54 AM, Kevin L. Kane via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Queue: REST-Client > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > Hi Markus, > Can you point me at the RFC or documentation that indicates LIST as a > valid HTTP request method? A cursory look at the HTTP 1/2 specs don't have > it. > > Thanks, > Kevin > > On Wed, Feb 28, 2018 at 10:40 AM, perl@1ster.de via RT < > bug-REST-Client@rt.cpan.org> wrote: >
> > Wed Feb 28 10:40:58 2018: Request 124620 was acted upon. > > Transaction: Ticket created by perl@1ster.de > > Queue: REST-Client > > Subject: Please allow using the LIST HTTP method > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: perl@1ster.de > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > > > Hi, > > > > Please can REST::Client (latest version 273) be changed to allow the LIST > > method. Or possibly the check for methods can be relaxed in a way that
> any
> > not-so-common or new methods can be used. > > > > Thanks & Regards > > Markus > >
> > > > -- > Kevin L. Kane > kevin.kane at gmail.com >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: RE: [rt.cpan.org #124620] Please allow using the LIST HTTP method
Date: Wed, 28 Feb 2018 17:20:49 +0100
To: <bug-REST-Client [...] rt.cpan.org>
From: <perl [...] 1ster.de>
Have been working with Vault's API: https://www.vaultproject.io/api/secret/kv/index.html which has "LIST" as a method without further comment, so I assumed it is correct without further investigation. A flag to ignore the check would be fine, or allow any verbs when calling ->request( "METHOD", ...) explicitly instead of ->METHOD( ...) Thanks for the quick answer Markus Show quoted text
-----Original Message----- From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] Sent: Mittwoch, 28. Februar 2018 17:11 To: perl@1ster.de Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > My bad, it seems that custom verbs have been allowed since HTTP 1.1... I think I will create a flag on the request method that that will cause it to ignore the valid verb check and send any verb you pass it. Let me look at it and get back to you. Thanks, Kevin On Wed, Feb 28, 2018 at 10:54 AM, Kevin L. Kane via RT < bug-REST-Client@rt.cpan.org> wrote:
> Queue: REST-Client > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > Hi Markus, > Can you point me at the RFC or documentation that indicates LIST as > a valid HTTP request method? A cursory look at the HTTP 1/2 specs > don't have it. > > Thanks, > Kevin > > On Wed, Feb 28, 2018 at 10:40 AM, perl@1ster.de via RT < > bug-REST-Client@rt.cpan.org> wrote: >
> > Wed Feb 28 10:40:58 2018: Request 124620 was acted upon. > > Transaction: Ticket created by perl@1ster.de > > Queue: REST-Client > > Subject: Please allow using the LIST HTTP method > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: perl@1ster.de > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > > > Hi, > > > > Please can REST::Client (latest version 273) be changed to allow the > > LIST method. Or possibly the check for methods can be relaxed in a > > way that
> any
> > not-so-common or new methods can be used. > > > > Thanks & Regards > > Markus > >
> > > > -- > Kevin L. Kane > kevin.kane at gmail.com >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method
Date: Wed, 28 Feb 2018 12:16:48 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
No problem, yeah rather than do a flag I decided removing the check is appropriate as similar classes like HTTP::Request and such don't bother with a strict check. If you want to try it out for me to make sure it works like you would expect please clone the latest from this: https://github.com/klkane/rest-client-perl I am going to use it for a bit locally and will bump the version number and put it on CPAN when I think its good and pending your feedback. Thanks, Kevin On Wed, Feb 28, 2018 at 11:21 AM, perl@1ster.de via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Queue: REST-Client > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > Have been working with Vault's API: > https://www.vaultproject.io/api/secret/kv/index.html > > which has "LIST" as a method without further comment, so I assumed it is > correct without further investigation. > > A flag to ignore the check would be fine, or allow any verbs when calling > ->request( "METHOD", ...) explicitly instead of ->METHOD( ...) > > Thanks for the quick answer > > Markus > > -----Original Message----- > From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] > Sent: Mittwoch, 28. Februar 2018 17:11 > To: perl@1ster.de > Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > My bad, it seems that custom verbs have been allowed since HTTP 1.1... > > I think I will create a flag on the request method that that will cause it > to ignore the valid verb check and send any verb you pass it. > > Let me look at it and get back to you. > > Thanks, > Kevin > > On Wed, Feb 28, 2018 at 10:54 AM, Kevin L. Kane via RT < > bug-REST-Client@rt.cpan.org> wrote: >
> > Queue: REST-Client > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > Hi Markus, > > Can you point me at the RFC or documentation that indicates LIST as > > a valid HTTP request method? A cursory look at the HTTP 1/2 specs > > don't have it. > > > > Thanks, > > Kevin > > > > On Wed, Feb 28, 2018 at 10:40 AM, perl@1ster.de via RT < > > bug-REST-Client@rt.cpan.org> wrote: > >
> > > Wed Feb 28 10:40:58 2018: Request 124620 was acted upon. > > > Transaction: Ticket created by perl@1ster.de > > > Queue: REST-Client > > > Subject: Please allow using the LIST HTTP method > > > Broken in: (no value) > > > Severity: (no value) > > > Owner: Nobody > > > Requestors: perl@1ster.de > > > Status: new > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > > > > > > Hi, > > > > > > Please can REST::Client (latest version 273) be changed to allow the > > > LIST method. Or possibly the check for methods can be relaxed in a > > > way that
> > any
> > > not-so-common or new methods can be used. > > > > > > Thanks & Regards > > > Markus > > >
> > > > > > > > -- > > Kevin L. Kane > > kevin.kane at gmail.com > >
> > > > -- > Kevin L. Kane > kevin.kane at gmail.com >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method
Date: Wed, 28 Feb 2018 14:38:51 -0500
To: bug-REST-Client [...] rt.cpan.org
From: "Kevin L. Kane" <kevin.kane [...] gmail.com>
I am sorry use this instead: https://github.com/klkane/cpan-rest-client On Wed, Feb 28, 2018 at 12:17 PM, Kevin L. Kane via RT < bug-REST-Client@rt.cpan.org> wrote: Show quoted text
> Queue: REST-Client > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > No problem, yeah rather than do a flag I decided removing the check is > appropriate as similar classes like HTTP::Request and such don't bother > with a strict check. > > If you want to try it out for me to make sure it works like you would > expect please clone the latest from this: > > https://github.com/klkane/rest-client-perl > > I am going to use it for a bit locally and will bump the version number and > put it on CPAN when I think its good and pending your feedback. > > Thanks, > Kevin > > On Wed, Feb 28, 2018 at 11:21 AM, perl@1ster.de via RT < > bug-REST-Client@rt.cpan.org> wrote: >
> > Queue: REST-Client > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > Have been working with Vault's API: > > https://www.vaultproject.io/api/secret/kv/index.html > > > > which has "LIST" as a method without further comment, so I assumed it is > > correct without further investigation. > > > > A flag to ignore the check would be fine, or allow any verbs when calling > > ->request( "METHOD", ...) explicitly instead of ->METHOD( ...) > > > > Thanks for the quick answer > > > > Markus > > > > -----Original Message----- > > From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] > > Sent: Mittwoch, 28. Februar 2018 17:11 > > To: perl@1ster.de > > Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP
> method
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > My bad, it seems that custom verbs have been allowed since HTTP 1.1... > > > > I think I will create a flag on the request method that that will cause
> it
> > to ignore the valid verb check and send any verb you pass it. > > > > Let me look at it and get back to you. > > > > Thanks, > > Kevin > > > > On Wed, Feb 28, 2018 at 10:54 AM, Kevin L. Kane via RT < > > bug-REST-Client@rt.cpan.org> wrote: > >
> > > Queue: REST-Client > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > > > Hi Markus, > > > Can you point me at the RFC or documentation that indicates LIST as > > > a valid HTTP request method? A cursory look at the HTTP 1/2 specs > > > don't have it. > > > > > > Thanks, > > > Kevin > > > > > > On Wed, Feb 28, 2018 at 10:40 AM, perl@1ster.de via RT < > > > bug-REST-Client@rt.cpan.org> wrote: > > >
> > > > Wed Feb 28 10:40:58 2018: Request 124620 was acted upon. > > > > Transaction: Ticket created by perl@1ster.de > > > > Queue: REST-Client > > > > Subject: Please allow using the LIST HTTP method > > > > Broken in: (no value) > > > > Severity: (no value) > > > > Owner: Nobody > > > > Requestors: perl@1ster.de > > > > Status: new > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > > > > > > > > > > > Hi, > > > > > > > > Please can REST::Client (latest version 273) be changed to allow the > > > > LIST method. Or possibly the check for methods can be relaxed in a > > > > way that
> > > any
> > > > not-so-common or new methods can be used. > > > > > > > > Thanks & Regards > > > > Markus > > > >
> > > > > > > > > > > > -- > > > Kevin L. Kane > > > kevin.kane at gmail.com > > >
> > > > > > > > -- > > Kevin L. Kane > > kevin.kane at gmail.com > >
> > > > -- > Kevin L. Kane > kevin.kane at gmail.com >
-- Kevin L. Kane kevin.kane at gmail.com
Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP method
Date: Thu, 1 Mar 2018 10:20:54 +0100
To: bug-REST-Client [...] rt.cpan.org
From: Markus Foerster <markus [...] 1ster.de>
Hi Kevin, I can confirm that the change works as intended. Thanks a lot! Markus On 28/02/18 20:39, Kevin L. Kane via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > > > I am sorry use this instead: > > https://github.com/klkane/cpan-rest-client > > On Wed, Feb 28, 2018 at 12:17 PM, Kevin L. Kane via RT < > bug-REST-Client@rt.cpan.org> wrote: >
>> Queue: REST-Client >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > >> >> No problem, yeah rather than do a flag I decided removing the check is >> appropriate as similar classes like HTTP::Request and such don't bother >> with a strict check. >> >> If you want to try it out for me to make sure it works like you would >> expect please clone the latest from this: >> >> https://github.com/klkane/rest-client-perl >> >> I am going to use it for a bit locally and will bump the version number and >> put it on CPAN when I think its good and pending your feedback. >> >> Thanks, >> Kevin >> >> On Wed, Feb 28, 2018 at 11:21 AM, perl@1ster.de via RT < >> bug-REST-Client@rt.cpan.org> wrote: >>
>>> Queue: REST-Client >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > >>> >>> Have been working with Vault's API: >>> https://www.vaultproject.io/api/secret/kv/index.html >>> >>> which has "LIST" as a method without further comment, so I assumed it is >>> correct without further investigation. >>> >>> A flag to ignore the check would be fine, or allow any verbs when calling >>> ->request( "METHOD", ...) explicitly instead of ->METHOD( ...) >>> >>> Thanks for the quick answer >>> >>> Markus >>> >>> -----Original Message----- >>> From: Kevin L. Kane via RT [mailto:bug-REST-Client@rt.cpan.org] >>> Sent: Mittwoch, 28. Februar 2018 17:11 >>> To: perl@1ster.de >>> Subject: Re: [rt.cpan.org #124620] Please allow using the LIST HTTP
>> method
>>> <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > >>> >>> My bad, it seems that custom verbs have been allowed since HTTP 1.1... >>> >>> I think I will create a flag on the request method that that will cause
>> it
>>> to ignore the valid verb check and send any verb you pass it. >>> >>> Let me look at it and get back to you. >>> >>> Thanks, >>> Kevin >>> >>> On Wed, Feb 28, 2018 at 10:54 AM, Kevin L. Kane via RT < >>> bug-REST-Client@rt.cpan.org> wrote: >>>
>>>> Queue: REST-Client >>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > >>>> >>>> Hi Markus, >>>> Can you point me at the RFC or documentation that indicates LIST as >>>> a valid HTTP request method? A cursory look at the HTTP 1/2 specs >>>> don't have it. >>>> >>>> Thanks, >>>> Kevin >>>> >>>> On Wed, Feb 28, 2018 at 10:40 AM, perl@1ster.de via RT < >>>> bug-REST-Client@rt.cpan.org> wrote: >>>>
>>>>> Wed Feb 28 10:40:58 2018: Request 124620 was acted upon. >>>>> Transaction: Ticket created by perl@1ster.de >>>>> Queue: REST-Client >>>>> Subject: Please allow using the LIST HTTP method >>>>> Broken in: (no value) >>>>> Severity: (no value) >>>>> Owner: Nobody >>>>> Requestors: perl@1ster.de >>>>> Status: new >>>>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124620 > >>>>> >>>>> >>>>> Hi, >>>>> >>>>> Please can REST::Client (latest version 273) be changed to allow the >>>>> LIST method. Or possibly the check for methods can be relaxed in a >>>>> way that
>>>> any
>>>>> not-so-common or new methods can be used. >>>>> >>>>> Thanks & Regards >>>>> Markus >>>>>
>>>> >>>> >>>> -- >>>> Kevin L. Kane >>>> kevin.kane at gmail.com >>>>
>>> >>> >>> -- >>> Kevin L. Kane >>> kevin.kane at gmail.com >>>
>> >> >> -- >> Kevin L. Kane >> kevin.kane at gmail.com >>
> >