Skip to content

Commit 7526d68

Browse files
neilboalders
authored andcommitted
Noted that OPTIONS http method support was added in 6.21
Retroactively added a note in the Changes section for 6.21, and added note to doc for OPTIONS in HTTP::Request::Common
1 parent 58e92b1 commit 7526d68

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Revision history for HTTP-Message
33
{{$NEXT}}
44
- Replace "base" with "parent" (GH#176) (James Raspass)
55
- Replace "print" with "note" in tests (GH#178) (James Raspass)
6+
- Noted that OPTIONS supported was added in 6.1, to the doc
7+
for HTTP::Request::Common. Addresses GH#177.
68

79
6.37 2022-06-14 14:08:55Z
810
- Support for Brotli "br" encoding (GH#163) (trizen and Julien Fiegehenn)
@@ -73,6 +75,7 @@ Revision history for HTTP-Message
7375
- Revert (GH#125) "try hard to make a usable file name" (GH#130) (Olaf
7476
Alders)
7577
- Fix JSON request encoding examples in POD (GH#126) (Michael Schout)
78+
- Added support for OPTIONS requests.
7679

7780
6.20 2019-02-05 01:46:39Z (TRIAL RELEASE)
7881
- Fix encoded file names when LC_ALL=C (GH#125) (Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯)

lib/HTTP/Request/Common.pm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,10 @@ The same as C<POST> below, but the method in the request is C<PUT>
405405
406406
The same as C<POST> below, but the method in the request is C<OPTIONS>
407407
408+
This was added in version 6.21, so you should require that in your code:
409+
410+
use HTTP::Request::Common 6.21;
411+
408412
=item POST $url
409413
410414
=item POST $url, Header => Value,...

0 commit comments

Comments
 (0)