about summary refs log tree commit diff
path: root/test/testdata
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2019-03-03 13:23:59 +0100
committerSergey M <dstftw@gmail.com>2019-03-03 19:23:59 +0700
commite7e62441cdde6dca6211c073be73677f195a0dff (patch)
tree7d30bd0a1df72032af32234c5fe2862e56f0766c /test/testdata
parent0a5baf9c210df9f492ae48dd8fdae90561c971bd (diff)
downloadyoutube-dl-e7e62441cdde6dca6211c073be73677f195a0dff.tar.gz
youtube-dl-e7e62441cdde6dca6211c073be73677f195a0dff.tar.xz
youtube-dl-e7e62441cdde6dca6211c073be73677f195a0dff.zip
[utils] strip #HttpOnly_ prefix from cookies files (#20219)
Diffstat (limited to 'test/testdata')
-rw-r--r--test/testdata/cookies/httponly_cookies.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testdata/cookies/httponly_cookies.txt b/test/testdata/cookies/httponly_cookies.txt
new file mode 100644
index 000000000..c46541d6b
--- /dev/null
+++ b/test/testdata/cookies/httponly_cookies.txt
@@ -0,0 +1,6 @@
+# Netscape HTTP Cookie File
+# http://curl.haxx.se/rfc/cookie_spec.html
+# This is a generated file!  Do not edit.
+
+#HttpOnly_www.foobar.foobar	FALSE	/	TRUE	2147483647	HTTPONLY_COOKIE	HTTPONLY_COOKIE_VALUE
+www.foobar.foobar	FALSE	/	TRUE	2147483647	JS_ACCESSIBLE_COOKIE	JS_ACCESSIBLE_COOKIE_VALUE