(method: string)
| 72 | const WRITE_CONTENT_TYPE = 'application/json'; |
| 73 | |
| 74 | export function isWriteMethod(method: string): boolean { |
| 75 | return WRITE_METHODS.includes(method); |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Whether a mutating request is one the viewer could have made. |