| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Http; |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | interface HasMediaType |
| 9: | { |
| 10: | public const TYPE_BINARY = 'application/octet-stream'; |
| 11: | public const TYPE_FORM = 'application/x-www-form-urlencoded'; |
| 12: | public const TYPE_FORM_MULTIPART = 'multipart/form-data'; |
| 13: | public const TYPE_GZIP = 'application/gzip'; |
| 14: | public const TYPE_HTML = 'text/html'; |
| 15: | public const TYPE_JSON = 'application/json'; |
| 16: | public const TYPE_JWT = 'application/jwt'; |
| 17: | public const TYPE_TEXT = 'text/plain'; |
| 18: | public const TYPE_XML = 'application/xml'; |
| 19: | public const TYPE_YAML = 'application/yaml'; |
| 20: | public const TYPE_ZIP = 'application/zip'; |
| 21: | } |
| 22: | |