How to use etags for caching?

余生颓废 提交于 2020-01-14 13:05:30

问题


Can anyone tell me how to pass etag correctly for this url?

https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,id&playlistId=UUwpy_3CqtfwM7tg2JgQQQyA&maxResults=50&key={API_KEY}.

I was passing like this, but didn't work.

https://www.googleapis.com/youtube/v3/playlistItems?part=snippet,id&playlistId=UUwpy_3CqtfwM7tg2JgQQQyA&maxResults=50&key={API_KEY}&If-None-Match="p4VTdlkQv3HQeTEaXgvLePAydmU/vKZr9jiSytaO7UdTbhKbIrwbX20"

来源:https://stackoverflow.com/questions/59587979/how-to-use-etags-for-caching

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!