mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
+2
-2
@@ -290,8 +290,8 @@ class Requester:
|
||||
requestHeaders["Authorization"] = self.__authorizationHeader
|
||||
|
||||
def __conditional(self, requestHeaders, parameters):
|
||||
# #189: Why pass etag and last_modified by param "parameters"?
|
||||
# #189: May be better to add a specific param "headers" to methods requestFoobar?
|
||||
# #193: Why pass etag and last_modified by param "parameters"?
|
||||
# #193: May be better to add a specific param "headers" to methods requestFoobar?
|
||||
etag = parameters.get(Consts.REQ_IF_NONE_MATCH)
|
||||
last_modified = parameters.get(Consts.REQ_IF_MODIFIED_SINCE)
|
||||
if etag is not None:
|
||||
|
||||
Reference in New Issue
Block a user