Getting a 406 Error Code - What’s Causing It and How Do I Fix It? or Why Am I Seeing a 406 Error Code

14 Replies, 1094 Views

Classic 406 drama! 😅

One sneaky thing: if you’re uploading files, check the `enctype` in your form. Had a case where the server rejected multipart/form-data unless it was spelled out perfectly.

Oh, and if you’re on Apache, `curl -I [your-url]` can show you what headers the server’s expecting.

---

Messages In This Thread



Users browsing this thread: 1 Guest(s)