[Wine-patches] [eter-2.0.0] wininet: Add "Content-Disposition" field (eterbug #7880).

Alexander Morozov amorozov на etersoft.ru
Пт Май 25 15:59:56 MSK 2012


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

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 631a184..96e2b26 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 };
@@ -3255,7 +3256,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 */
-- 
1.7.9.7



Подробная информация о списке рассылки Wine-patches