         {:ok, %HTTPoison.Response{headers: headers}} ->
           headermap = Enum.into(headers, %{})
           check_headers(podcast, feed, headermap["ETag"], headermap["Last-Modified"])
+
         {:error, _error} ->
           {:ok, "go on"}
       end

      {:ok, "go on"}
    else
      headers = [
        "User-Agent":
          "Mozilla/5.0 (compatible; Panoptikum; +https://panoptikum.io/)"
      ]

      options = [recv_timeout: 15_000, timeout: 15_000, hackney: [:insecure]]

  def check_headers(_, feed, nil, nil) do
    Feed.changeset(feed, %{no_headers_available: true})
    |> Repo.update()

    {:ok, "go on"}
  end

