Nice post! One thing that may trip folks up is sometimes HTTP headers come in capitalized. You’ll want to check for ‘accept’ or ‘Accept’ and ‘content-type’ or ‘Content-Type’. We’ve run into this one in the wild a bunch. It really depends on what the client sends as headers.