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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!