API Testing · Middle · Question 57 of 75

What does compression like Content-Encoding: gzip mean for API tests?

Show the answer

Correct answer: Clients must decode it; tests check headers and correct content

Explanation

Most HTTP clients decode automatically. Tests check large responses are compressed and that Accept-Encoding is respected.

Further reading

Problem with a question

API Testing · Middle · question 57

Test yourself

Take the API Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz