(self, method, path, data='',
content_type='application/octet-stream', secure=False, **extra)
| 213 | return self.generic('OPTIONS', path, data, content_type, **extra) |
| 214 | |
| 215 | def generic(self, method, path, data='', |
| 216 | content_type='application/octet-stream', secure=False, **extra): |
| 217 | # Include the CONTENT_TYPE, regardless of whether or not data is empty. |
| 218 | if content_type is not None: |
| 219 | extra['CONTENT_TYPE'] = str(content_type) |
| 220 | |
| 221 | return super().generic( |
| 222 | method, path, data, content_type, secure, **extra) |
| 223 | |
| 224 | def request(self, **kwargs): |
| 225 | request = super().request(**kwargs) |
no outgoing calls
no test coverage detected