ETag Request Precondition Tester
Evaluate If-Match and If-None-Match against a declared current entity tag.
Processing stays in your browser. Only entity-tag conditions are evaluated. HTTP date conditions, authorization and actual application state are outside the model.
How to use the etag request precondition tester
Review current etag, conditional etag list, header, request method, representation exists using the supplied worked example. Replace the example with your own data and choose Run tool. Inspect the result against the method below before copying or downloading it. Editing an input clears the previous result.
How the tool works
If-Match uses strong comparison; If-None-Match uses weak comparison. A matching If-None-Match produces 304 for GET/HEAD and 412 for other methods; wildcard checks existence.
Worked example
View the example inputs
- Current ETag
- "v2"
- Conditional ETag list
- W/"v2"
- Header
- If-None-Match
- Request method
- GET
- Representation exists
- Yes
W/"v2" matches "v2" for If-None-Match on GET, producing a 304 precondition result.
Good to know
Only entity-tag conditions are evaluated. HTTP date conditions, authorization and actual application state are outside the model.
Sources and implementation notes
Implemented by DevBricks Technologies. Method notes updated . References describe the underlying format, method or API. Local processing runs on your device. Any public provider queries are described above and start when you run the lookup.
Use protocol data with its original context
Copy a small request, response, record or configuration that demonstrates the question you are investigating. Remove credentials, cookies and private hostnames where possible. Preserve line endings, numeric bases and field order when the format requires them. Distinguish a tool that reads pasted data from one that makes an external lookup: reading a sample cannot establish the current state of a remote service.
Inputs and settings explained
- Current ETag
- Enter the current etag exactly as required by the example. Check spelling, whitespace and any stated naming rules before running the operation. Use a small test value first; an accepted text field does not by itself establish that the value is appropriate for the system that will consume the result.
See the demonstration value
"v2"
- Conditional ETag list
- Enter the conditional etag list exactly as required by the example. Check spelling, whitespace and any stated naming rules before running the operation. Use a small test value first; an accepted text field does not by itself establish that the value is appropriate for the system that will consume the result.
See the demonstration value
W/"v2"
- Header
- Choose the header setting that matches your task. Available choices: If-None-Match; If-Match. The supplied example selects If-None-Match. Compare the result after changing this setting; the options describe different operations or conventions.
- Request method
- Choose the request method setting that matches your task. Available choices: GET; HEAD; PUT; POST; DELETE. The supplied example selects GET. Compare the result after changing this setting; the options describe different operations or conventions.
- Representation exists
- Choose the representation exists setting that matches your task. Available choices: Yes; No. The supplied example selects Yes. Compare the result after changing this setting; the options describe different operations or conventions.
How to review the result
Compare the reported fields with the relevant protocol and the implementation that will consume them. A valid-looking record can still refer to an unavailable host or an incorrectly configured service. Redirects, caches, proxies and resolver choices can affect what a real client observes. When a lookup is available, note its provider and time, and confirm an important finding from the environment where the failure occurs. Never assume that one observation represents all networks or clients.
- Check the hostname, port, scheme, record type and request method for the actual task.
- Keep malformed sample data separate from evidence captured from a live system.
- Verify the result with the real client or service after applying a configuration change.
Common questions about this workflow
Does a local report show whether my server is reachable?
Only an actual network operation can observe reachability, and that observation is limited to its location and time. A parser or builder can help inspect the supplied data but cannot establish the remote service's behavior.
Why does another machine show a different result?
The machines may use different DNS resolvers, caches, networks, authentication or software versions. Compare their actual requests and configurations. Use the report to narrow the question rather than treating a difference as proof that either machine is wrong.
Built by DevBricks Technologies. Found an unexpected result in ETag Request Precondition Tester? Report a reproducible example with the tool URL, settings and a small sample that contains no private information.