win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c
authorTor Lillqvist <tml@novell.com>
Wed, 13 Aug 2008 19:39:49 +0000 (19:39 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 13 Aug 2008 19:39:49 +0000 (19:39 +0000)
commitd5863830ad51529cb4f5f82016790ea8c03110e9
tree3ff1f30a35d4ba56fb1fd1e7957803c5978c9a9a
parentd303e31605b931b0b91af721ab56285e6ea6fd85
win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c

2008-08-13  Tor Lillqvist  <tml@novell.com>

* win32/gwinhttpvfs.c
* win32/gwinhttpvfs.h
* win32/gwinhttpfile.c
* win32/gwinhttpfileinputstream.c
* win32/gwinhttpfileoutputstream.c: Refactor some common code
snippets into helper functions. Check HTTP response status
codes. Implement g_winhttp_file_query_info(), looking at
Content-Length, Content-Type and Last-Modified.

* win32/winhttp.h: Add some symbolic constants that are not
publicly documented. Just a handful, so it should be OK to use
information from the Windows SDK's headers.

svn path=/trunk/; revision=7350
gio/ChangeLog
gio/win32/gwinhttpfile.c
gio/win32/gwinhttpfileinputstream.c
gio/win32/gwinhttpfileoutputstream.c
gio/win32/gwinhttpvfs.c
gio/win32/gwinhttpvfs.h
gio/win32/winhttp.h