gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 57/150: content_encoding: Add "none" alias to "iden


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 57/150: content_encoding: Add "none" alias to "identity"
Date: Fri, 30 Mar 2018 16:48:31 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit f886cbfe9c3055999d8174b2eedc826d0d9a54f1
Author: Mohammad AlSaleh <address@hidden>
AuthorDate: Thu Feb 8 20:23:22 2018 +0200

    content_encoding: Add "none" alias to "identity"
    
    Some servers return a "content-encoding" header with a non-standard
    "none" value.
    
    Add "none" as an alias to "identity" as a work-around, to avoid
    unrecognised content encoding type errors.
    
    Signed-off-by: Mohammad AlSaleh <address@hidden>
    
    Closes https://github.com/curl/curl/pull/2298
---
 lib/content_encoding.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/content_encoding.c b/lib/content_encoding.c
index 46bef0ca9..2b2188b73 100644
--- a/lib/content_encoding.c
+++ b/lib/content_encoding.c
@@ -726,7 +726,7 @@ static void identity_close_writer(struct connectdata *conn,
 
 static const content_encoding identity_encoding = {
   "identity",
-  NULL,
+  "none",
   identity_init_writer,
   identity_unencode_write,
   identity_close_writer,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]