I want to tell the server that the browser does not support javascript.
What’s the most common approach to do that? (What header is most common?)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The HTTP protocol doesn’t define any such header. So you could use a custom one. Like:
But of course you could have as well used any other header you liked. And by the way may I ask why would the server would care whether the client supports javascript or not? I mean that’s the client responsibility. The
<noscript>tag is a good way to provide an alternative contents to clients not supporting javascript.