Files
flatpak/.gitignore
Owen W. Taylor 951aed561a Add flatpak_cache_http_uri: cache downloads based on HTTP headers
Add a new function, flatpak_cache_http_uri() that when passed an URL and
a local destination location, either a) downloads the content and stores
it at the destination location, storing HTTP cache header information
like Last-Modified, Etag into user xattrs (if available) or a separate
file or b) if the downloaded content is already present, checks the
header information to decide whether the downloaded content can be used
or needs to be revalidated witha conditional request.

Tests are added that use a special case test server that adds HTTP caching
headers and reacts to them based on query parameters. A small test binary
'httpcache' is added for the tests to use.

Closes: #1910
Approved by: alexlarsson
2018-08-09 12:49:35 +00:00

117 lines
2.0 KiB
Plaintext

*.la
*.o
*.lo
.deps
.libs
ABOUT-NLS
INSTALL
Makefile
Makefile.in
aclocal.m4
autom4te.cache/
test-driver
compile
config.rpath
config.guess
config.h
config.log
config.status
config.sub
configure
depcomp
install-sh
libtool
ltmain.sh
m4/*.m4
!m4/glibtests.m4
!m4/attributes.m4
missing
stamp-h1
config.h.in
stamp-*
gtk-doc.make
flatpak
flatpak-*.tar.xz
flatpak-session-helper
flatpak-portal
*~
profile/flatpak.sh
*-dbus-generated.[ch]
flatpak-resources.[ch]
flatpak-portal-dbus.[ch]
flatpak-dbus-proxy
permission-store-dbus.[ch]
flatpak-system-helper
xdg-desktop-portal
*.service
flatpak.conf
flatpak.env
flatpak.sh
document-portal/xdp-dbus.[ch]
document-portal/xdp-resources.[ch]
.dirstamp
test-suite*.log
common/flatpak-version-macros.h
flatpak.pc
common/flatpak-enum-types.c
common/flatpak-enum-types.h
test-libflatpak
httpcache
Flatpak-1.0.*
/app/parse-datetime.c
/doc/reference/gtkdoc-check.log
/doc/reference/gtkdoc-check.test
/doc/reference/gtkdoc-check.trs
/doc/reference/version.xml
/doc/flatpak-docs.html
/doc/flatpak-docs.xml
/doc/*.1
/doc/*.5
/test-libglnx-errors
/test-libglnx-errors.log
/test-libglnx-errors.trs
/test-libglnx-fdio
/test-libglnx-fdio.log
/test-libglnx-fdio.trs
/test-libglnx-macros
/test-libglnx-macros.log
/test-libglnx-macros.trs
/test-libglnx-shutil
/test-libglnx-shutil.log
/test-libglnx-shutil.trs
/test-libglnx-xattrs
/test-libglnx-xattrs.log
/test-libglnx-xattrs.trs
/testlibrary
/testlibrary.log
/testlibrary.trs
/tests/test-keyring/.gpg-v21-migrated
/tests/test-keyring/private-keys-v1.d/
/tests/test-keyring/trustdb.gpg
/tests/test-keyring2/.gpg-v21-migrated
/tests/test-keyring2/private-keys-v1.d/
/tests/test-keyring2/trustdb.gpg
/tests/hello*.flatpak
/tests/platform*.flatpak
/tests/repo
/tests/package_version.txt
*.test
/tests/*.sh.log
/tests/*.sh.test
/tests/*.sh.trs
po/.intltool-merge-cache
po/Makefile.in.in
po/POTFILES
po/Flatpak.pot
po/Makevars.template
po/Rules-quot
po/flatpak.pot
po/*.gmo
po/*.sed
po/*.header
po/*.sin
system-helper/org.freedesktop.Flatpak.policy
system-helper/org.freedesktop.Flatpak.rules
flatpak-bwrap
py-compile