@@ -1128,7 +1128,7 @@ def content(self, streamed=False, action=None, chunk_size=1024, **kwargs):
11281128 """
11291129path = '/snippets/%s/raw' % self .get_id ()
11301130result = self .manager .gitlab .http_get (path ,streamed = streamed ,
1131- ** kwargs )
1131+ raw = True , ** kwargs )
11321132return utils .response_content (result ,streamed ,action ,chunk_size )
11331133
11341134
@@ -1365,7 +1365,7 @@ def artifacts(self, streamed=False, action=None, chunk_size=1024,
13651365 """
13661366path = '%s/%s/artifacts' % (self .manager .path ,self .get_id ())
13671367result = self .manager .gitlab .http_get (path ,streamed = streamed ,
1368- ** kwargs )
1368+ raw = True , ** kwargs )
13691369return utils .response_content (result ,streamed ,action ,chunk_size )
13701370
13711371@cli .register_custom_action ('ProjectJob' )
@@ -1393,7 +1393,7 @@ def artifact(self, path, streamed=False, action=None, chunk_size=1024,
13931393 """
13941394path = '%s/%s/artifacts/%s' % (self .manager .path ,self .get_id (),path )
13951395result = self .manager .gitlab .http_get (path ,streamed = streamed ,
1396- ** kwargs )
1396+ raw = True , ** kwargs )
13971397return utils .response_content (result ,streamed ,action ,chunk_size )
13981398
13991399@cli .register_custom_action ('ProjectJob' )
@@ -1419,7 +1419,7 @@ def trace(self, streamed=False, action=None, chunk_size=1024, **kwargs):
14191419 """
14201420path = '%s/%s/trace' % (self .manager .path ,self .get_id ())
14211421result = self .manager .gitlab .http_get (path ,streamed = streamed ,
1422- ** kwargs )
1422+ raw = True , ** kwargs )
14231423return utils .response_content (result ,streamed ,action ,chunk_size )
14241424
14251425
@@ -2654,7 +2654,7 @@ def raw(self, file_path, ref, streamed=False, action=None, chunk_size=1024,
26542654path = '%s/%s/raw' % (self .path ,file_path )
26552655query_data = {'ref' :ref }
26562656result = self .gitlab .http_get (path ,query_data = query_data ,
2657- streamed = streamed ,** kwargs )
2657+ streamed = streamed ,raw = True , ** kwargs )
26582658return utils .response_content (result ,streamed ,action ,chunk_size )
26592659
26602660
@@ -2897,7 +2897,7 @@ def content(self, streamed=False, action=None, chunk_size=1024, **kwargs):
28972897 """
28982898path = "%s/%s/raw" % (self .manager .path ,self .get_id ())
28992899result = self .manager .gitlab .http_get (path ,streamed = streamed ,
2900- ** kwargs )
2900+ raw = True , ** kwargs )
29012901return utils .response_content (result ,streamed ,action ,chunk_size )
29022902
29032903
@@ -3174,7 +3174,7 @@ def download(self, streamed=False, action=None, chunk_size=1024, **kwargs):
31743174 """
31753175path = '/projects/%d/export/download' % self .project_id
31763176result = self .manager .gitlab .http_get (path ,streamed = streamed ,
3177- ** kwargs )
3177+ raw = True , ** kwargs )
31783178return utils .response_content (result ,streamed ,action ,chunk_size )
31793179
31803180
@@ -3315,7 +3315,7 @@ def repository_raw_blob(self, sha, streamed=False, action=None,
33153315 """
33163316path = '/projects/%s/repository/blobs/%s/raw' % (self .get_id (),sha )
33173317result = self .manager .gitlab .http_get (path ,streamed = streamed ,
3318- ** kwargs )
3318+ raw = True , ** kwargs )
33193319return utils .response_content (result ,streamed ,action ,chunk_size )
33203320
33213321@cli .register_custom_action ('Project' , ('from_' ,'to' ))
@@ -3391,7 +3391,8 @@ def repository_archive(self, sha=None, streamed=False, action=None,
33913391if sha :
33923392query_data ['sha' ]= sha
33933393result = self .manager .gitlab .http_get (path ,query_data = query_data ,
3394- streamed = streamed ,** kwargs )
3394+ raw = True ,streamed = streamed ,
3395+ ** kwargs )
33953396return utils .response_content (result ,streamed ,action ,chunk_size )
33963397
33973398@cli .register_custom_action ('Project' , ('forked_from_id' , ))
@@ -3674,7 +3675,7 @@ def snapshot(self, wiki=False, streamed=False, action=None,
36743675 """
36753676path = '/projects/%d/snapshot' % self .get_id ()
36763677result = self .manager .gitlab .http_get (path ,streamed = streamed ,
3677- ** kwargs )
3678+ raw = True , ** kwargs )
36783679return utils .response_content (result ,streamed ,action ,chunk_size )
36793680
36803681@cli .register_custom_action ('Project' , ('scope' ,'search' ))