Skip to content

Commit

Permalink
remove unused function in the cache middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Apr 14, 2024
1 parent a16d626 commit f3d0762
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/ontologies_api_client/middleware/faraday-object-cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,6 @@ def create_request(env)
request[:request_headers] = request[:request_headers].dup
request
end

def clean_request_headers(request)
request[:request_headers].delete("If-Modified-Since")
request[:request_headers].delete("Expect")
request
end

end
end

Expand Down

0 comments on commit f3d0762

Please sign in to comment.