File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -369,8 +369,6 @@ impl Access for GcsBackend {
369369
370370 read_with_if_match : true ,
371371 read_with_if_none_match : true ,
372- read_with_if_modified_since : true ,
373- read_with_if_unmodified_since : true ,
374372
375373 write : true ,
376374 write_can_empty : true ,
Original file line number Diff line number Diff line change @@ -203,20 +203,6 @@ impl GcsCore {
203203 req = req. header ( http:: header:: RANGE , range. to_header ( ) ) ;
204204 }
205205
206- if let Some ( if_modified_since) = args. if_modified_since ( ) {
207- req = req. header (
208- IF_MODIFIED_SINCE ,
209- format_datetime_into_http_date ( if_modified_since) ,
210- ) ;
211- }
212-
213- if let Some ( if_unmodified_since) = args. if_unmodified_since ( ) {
214- req = req. header (
215- IF_UNMODIFIED_SINCE ,
216- format_datetime_into_http_date ( if_unmodified_since) ,
217- ) ;
218- }
219-
220206 let req = req. body ( Buffer :: new ( ) ) . map_err ( new_request_build_error) ?;
221207
222208 Ok ( req)
You can’t perform that action at this time.
0 commit comments