Skip to content

Commit

Permalink
Add constants.method
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Jun 12, 2024
1 parent eb18f87 commit a171ac0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ module.exports = {
BEFORE_CHUNK: 4,
IN_CHUNK: 5
},
method: {
GET: 'GET',
HEAD: 'HEAD',
POST: 'POST',
PUT: 'PUT',
DELETE: 'DELETE',
CONNECT: 'CONNECT',
OPTIONS: 'OPTIONS',
TRACE: 'TRACE',
PATCH: 'PATCH'
},
status: {
100: 'Continue',
101: 'Switching Protocols',
Expand Down

0 comments on commit a171ac0

Please sign in to comment.