dgw / plex-pushover

A simple plex webhook to send a Pushover notification every time someone starts playing media on your server
MIT License
5 stars 3 forks source link

Send HTTP 415 for unsupported media types #13

Closed dgw closed 6 years ago

dgw commented 6 years ago

Bit of an in-joke for HTTP nerds, since HTTP status code 415 is actually defined as "Unsupported Media Type".

I may or may not decide to replace it with 501 Not Implemented or another 5xx code to be proper… Still thinking.

dgw commented 6 years ago

Also thinking about changing both this and #11 to some 2xx code indicating that the request was successful but no action was taken. (What would that be? 204 No Content? I'm not actually sure…)

dgw commented 6 years ago

Meh, response codes can be changed later. Want to get all the outstanding stuff merged so I can do whole-file cleanup without rebasing or merging things manually later.