1

Does the YouTube Data API Client Library for Java use Etags and/or gzip, as described at Getting started page?

Documentation is short (only find java docs) and don't say anything about it, so i guess is just a wrapper.

MiguelSlv
  • 14,067
  • 15
  • 102
  • 169

1 Answers1

0

Based from this link, Etags are supported by youtube but it depends on what kind of data you are asking.

To use the etag, create a header request and put "If-None-Match" equal to your etag value. Note this should be a request header and not appended to the endpoint call. You can also use "If-Match".

Depending on what kind of API you are using, the way of inserting a new value to the request header may differ slightly. The ETag response-header field provides the current value of the entity tag for the requested variant.

You may also check on this related thread.

Community
  • 1
  • 1
abielita
  • 13,147
  • 2
  • 17
  • 59