---
title: "Discussion on \"Mocking Conditional Requests: ETags and 304 Not Modified\" | Hashnode"
description: "Discussion on \"Mocking Conditional Requests: ETags and 304 Not Modified\". Mocking conditional requests means reproducing a stateful ETag cycle: stable validator, header comparison, empty 304 on a match, and a fresh 200 after a change."
url: "https://hashnode.com/posts/mocking-conditional-requests-etag-304/6ae806e88c7d111c2f3358e1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mocking Conditional Requests: ETags and 304 Not Modified](https://blogs.powerduck.com/mocking-conditional-requests-etag-304?utm_source=hashnode&utm_medium=feed)

Mocking conditional requests means reproducing a stateful ETag cycle: stable validator, header comparison, empty 304 on a match, and a fresh 200 after a change.

Nov 2 · 5 min read · blogs.powerduck.com  
Read the article

-   [#mocking](https://hashnode.com/tag/mocking)
-   [#api](https://hashnode.com/tag/api)
-   [#developers](https://hashnode.com/tag/developers)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
