@@ -1128,7 +1128,7 @@ def content(self, streamed=False, action=None, chunk_size=1024, **kwargs):
11281128 """
11291129 path = '/snippets/%s/raw' % self .get_id ()
11301130 result = self .manager .gitlab .http_get (path , streamed = streamed ,
1131- ** kwargs )
1131+ raw = True , ** kwargs )
11321132 return 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 """
13661366 path = '%s/%s/artifacts' % (self .manager .path , self .get_id ())
13671367 result = self .manager .gitlab .http_get (path , streamed = streamed ,
1368- ** kwargs )
1368+ raw = True , ** kwargs )
13691369 return 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 """
13941394 path = '%s/%s/artifacts/%s' % (self .manager .path , self .get_id (), path )
13951395 result = self .manager .gitlab .http_get (path , streamed = streamed ,
1396- ** kwargs )
1396+ raw = True , ** kwargs )
13971397 return 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 """
14201420 path = '%s/%s/trace' % (self .manager .path , self .get_id ())
14211421 result = self .manager .gitlab .http_get (path , streamed = streamed ,
1422- ** kwargs )
1422+ raw = True , ** kwargs )
14231423 return 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,
26542654 path = '%s/%s/raw' % (self .path , file_path )
26552655 query_data = {'ref' : ref }
26562656 result = self .gitlab .http_get (path , query_data = query_data ,
2657- streamed = streamed , ** kwargs )
2657+ streamed = streamed , raw = True , ** kwargs )
26582658 return 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 """
28982898 path = "%s/%s/raw" % (self .manager .path , self .get_id ())
28992899 result = self .manager .gitlab .http_get (path , streamed = streamed ,
2900- ** kwargs )
2900+ raw = True , ** kwargs )
29012901 return 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 """
31753175 path = '/projects/%d/export/download' % self .project_id
31763176 result = self .manager .gitlab .http_get (path , streamed = streamed ,
3177- ** kwargs )
3177+ raw = True , ** kwargs )
31783178 return 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 """
33163316 path = '/projects/%s/repository/blobs/%s/raw' % (self .get_id (), sha )
33173317 result = self .manager .gitlab .http_get (path , streamed = streamed ,
3318- ** kwargs )
3318+ raw = True , ** kwargs )
33193319 return 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,
33913391 if sha :
33923392 query_data ['sha' ] = sha
33933393 result = self .manager .gitlab .http_get (path , query_data = query_data ,
3394- streamed = streamed , ** kwargs )
3394+ raw = True , streamed = streamed ,
3395+ ** kwargs )
33953396 return 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 """
36753676 path = '/projects/%d/snapshot' % self .get_id ()
36763677 result = self .manager .gitlab .http_get (path , streamed = streamed ,
3677- ** kwargs )
3678+ raw = True , ** kwargs )
36783679 return utils .response_content (result , streamed , action , chunk_size )
36793680
36803681 @cli .register_custom_action ('Project' , ('scope' , 'search' ))
0 commit comments