* Checks if a given HTTP method can modify data * @param {string} arg - HTTP method to check * @returns {boolean} True if the method can modify data, false otherwise
(arg)
| 88 | * @returns {boolean} True if the method can modify data, false otherwise |
| 89 | */ |
| 90 | canModify (arg) { |
| 91 | return arg.includes(DELETE) || hasBody(arg); |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Handles connection setup for incoming requests |