Alexander Morozov : wininet: Add "Content-Disposition" field.

Alexandre Julliard julliard at winehq.org
Thu May 24 14:58:12 CDT 2012


Module: wine
Branch: master
Commit: ef95a7938462f6dcc15a82124a36f19e9a72f81e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ef95a7938462f6dcc15a82124a36f19e9a72f81e

Author: Alexander Morozov <amorozov at etersoft.ru>
Date:   Wed May 23 17:49:24 2012 +0400

wininet: Add "Content-Disposition" field.

---

 dlls/wininet/http.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index f26f45f..0e3c1a3 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -98,6 +98,7 @@ static const WCHAR szAllow[] = { 'A','l','l','o','w',0 };
 static const WCHAR szCache_Control[] = { 'C','a','c','h','e','-','C','o','n','t','r','o','l',0 };
 static const WCHAR szConnection[] = { 'C','o','n','n','e','c','t','i','o','n',0 };
 static const WCHAR szContent_Base[] = { 'C','o','n','t','e','n','t','-','B','a','s','e',0 };
+static const WCHAR szContent_Disposition[] = { 'C','o','n','t','e','n','t','-','D','i','s','p','o','s','i','t','i','o','n',0 };
 static const WCHAR szContent_Encoding[] = { 'C','o','n','t','e','n','t','-','E','n','c','o','d','i','n','g',0 };
 static const WCHAR szContent_ID[] = { 'C','o','n','t','e','n','t','-','I','D',0 };
 static const WCHAR szContent_Language[] = { 'C','o','n','t','e','n','t','-','L','a','n','g','u','a','g','e',0 };
@@ -3277,7 +3278,7 @@ static const LPCWSTR header_lookup[] = {
     szCookie,			/* HTTP_QUERY_COOKIE = 44 */
     NULL,			/* HTTP_QUERY_REQUEST_METHOD = 45 */
     NULL,			/* HTTP_QUERY_REFRESH = 46 */
-    NULL,			/* HTTP_QUERY_CONTENT_DISPOSITION = 47 */
+    szContent_Disposition,	/* HTTP_QUERY_CONTENT_DISPOSITION = 47 */
     szAge,			/* HTTP_QUERY_AGE = 48 */
     szCache_Control,		/* HTTP_QUERY_CACHE_CONTROL = 49 */
     szContent_Base,		/* HTTP_QUERY_CONTENT_BASE = 50 */




More information about the wine-cvs mailing list