Question
In below there is question and answer, What I need is I want comment about the answer( feel free to agree or disagree with answer
In below there is question and answer, What I need is I want comment about the answer( feel free to agree or disagree with answer and explain (in 2 or 3 paragraph) why you agree or disagree) and 2nd thing is give your own answer (something diffrenet than answer)
Question:
which HTTP headers are good and explain why you think is good? and also give exmaple for each one?
Answer:
Accept
I use this header when I send requests to web services. It's purpose is to tell the web service what content type I want returned.
Authorization
This is used for HTTP Authentication schemes; such as BASIC or DIGEST.
Cache-Control
Used for setting up how caching is handled during the request/response cycle.
Content-Type
I use this when making a PUT or POST request to identify the content type of the message body that is being submitted.
I look for this when receiving responses from web services to identity the content type of the response
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started