frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

RFC 10008: The new HTTP Query Method

https://www.rfc-editor.org/info/rfc10008/
44•schappim•1h ago

Comments

lanycrost•45m ago
query strings always had size limit, seems this new type will solve it which will be really good.
brookst•42m ago
Wouldn’t just putting an etag on POST requests accomplish the same thing? If I’m understanding it the server has to maintain state to ensure idempotency.
CodesInChaos•35m ago
QUERY is GET with a request body. So it must be safe, not just idempotent. Where safe means it has no significant side-effects. Typically servers will not keep any state for QUERY requests.

There is one interesting variant though, which uses state: The client sends a QUERY containing the full query, and the server returns a url usable with GET with which this query can be triggered in the future. Similar to prepared statements in SQL databases.

Using QUERY for GraphQL queries (not mutations) would be a good match. These only read data, but are sometimes bigger than the url length limit.

trollbridge•30m ago
Ideally, libraries like FastAPI, etc. could be configured to translate QUERYs to GETs, until you can rewrite your code to automatically support both.
pwdisswordfishq•39m ago
Wait, it's already past 10 thousand?
rhplus•21m ago
Someone has an ambiguous bet predicting when RFC 10000 will be published, but the numbers went straight from 9998 to 10008. No-one wins!

https://manifold.markets/CollectedOverSpread/when-will-rfc-1...

Imustaskforhelp•16m ago
Everytime I think that prediction markets bets can't get worse, they do, all in weird ways. I never expected someone betting over when RFC 10,000 will be published but somehow its fits just about right for prediction markets.

just wow, people seem to be having too much money it seems for them to bet over when RFC's are gonna get released.

This isn't even one of the worst offenders on prediction market or even comparable to it but I am just amazed (in a negative manner, surprised? its just strange) by the depth on what people actually bet on these markets.

andltsemi3•39m ago
If this is actually going to replace GET requests w/ query strings in the wild, Im very much hoping for browser bookmarks to support keeping request parameters.
inigyou•36m ago
Probably won't. Probably will replace whenever POST is currently used for a query.
toybeaver•34m ago
This makes me happy tbh, I was never a fan of creating `POST /search` endpoints when working with robust APIs
100ms•24m ago
Including a strong motivating example might have helped sell this, using an example that could trivially be expressed as a GET is extremely distracting.

Even imagining a QUERY with a large JSON filtering structure, or say an image input as request body, it feels extremely odd to include the request body as part of the cache key. It also implies an unbounded and user-controlled cache key, with the only really meaningful general caching strategy being bitwise compare of the request body (or a hash), which in a hostile scenario implies cache busting would be trivial.

This invokes multiple semantic oddities in one go with obvious difficulties for a very niche use case. If I'm writing a service that needs complex filtering or complex input like an image, any form of caching (e.g. individual data columns of a join, or embeddings keyed by perceptual hashes of a decoded image input) is going to be far away from the HTTP layer and certainly unrelated to the exact bit representation of the request on the wire.

Why even bother trying to capture this in a generic way?

I would be far more inclined to try and capture this caching semantic as a new header for POST. Something like "Vary: request-body" or similar. Perfectly backwards compatible and perfectly ignorable for all but the 0.1% of CDN use cases where the behaviour might turn out useful

epolanski•5m ago
> Why even bother trying to capture this in a generic way?

I guess it's resolving the odd semantics of using POST which is not idempotent.

GitHub Action to grade OpenAPI schema quality (A–F) and catch breaking changes

https://github.com/marketplace/actions/typemorph-schema-check
1•jop00004•43s ago•0 comments

Lords urgent question on the suspension of Anthropic's AI models [video]

https://www.youtube.com/watch?v=1Dw_k_Bs95A
1•haritha-j•1m ago•0 comments

HPE Discover 2026 Keynote Coverage

https://www.servethehome.com/hpe-discover-2026-keynote-coverage/
1•ksec•1m ago•1 comments

CLI AI Tool Laucher

https://github.com/tjbmoose09/ai-tool-launcher
1•tjbmoose09•3m ago•1 comments

Show HN: Multiplayer Space Game

https://voidhorizon.net
1•messel•4m ago•0 comments

Writing an echo server in libev and C++ (2011)

https://www.skitoy.com/posts/writing-an-echo-server-in-libev-and-c/
1•mooreds•5m ago•0 comments

Using the stars and paddles, indigenous Taiwanese recreate risky sea journey

https://www.cnn.com/2026/06/17/asia/taiwan-indigenous-paddle-philippines-intl-hnk
1•mooreds•5m ago•0 comments

El Niño is here, so what does it mean?

https://text.npr.org/g-s1-128448
1•mooreds•6m ago•0 comments

What is a data semantic layer?

https://getbruin.com/blog/what-is-a-semantic-layer/
1•arsalann•6m ago•0 comments

"How dare we use something like that..." – Why generative AI artwork is a no...

https://www.gamesindustry.biz/how-dare-we-use-something-like-that-on-someones-dream-why-generativ...
1•dude250711•7m ago•0 comments

Private Tap-to-Pay

https://walt.is
1•627467•8m ago•0 comments

Denmark desperately needs more inequality

https://world.hey.com/dhh/denmark-desperately-needs-more-inequality-8e84a8d0
2•peterspath•8m ago•0 comments

How to make LVT politically doable

https://wilsoniumite.com/2026/06/17/how-to-make-lvt-politically-doable/
2•Wilsoniumite•8m ago•0 comments

Show HN: Noject – menubar app to stop drive ejections on macOS

https://scaleninja.com/noject/
2•rohityadavcloud•9m ago•0 comments

Cosmodial Sky Atlas

https://frankforce.com/cosmodial-sky-atlas/
1•surprisetalk•10m ago•0 comments

Behind Python: The Languages That Power AI

https://arxiv.org/abs/2606.18141
1•runningmike•10m ago•1 comments

Don't Stack Weaknesses

https://staysaasy.com/startups/2026/06/15/stacked-weaknesses.html
1•RyeCombinator•11m ago•0 comments

Cockroaches scurry around with pieces of bacterial genomes

https://arstechnica.com/science/2026/06/cockroaches-scurry-around-with-thousands-of-pieces-of-bac...
1•haeseong•12m ago•0 comments

Show HN: OpenC6 BIOS – A PC-like bare-metal bootloader and OS for ESP32-C6

https://github.com/Rompass/openc6-bios
2•Rompass•12m ago•0 comments

Certain Ultra-processed Foods more Addictive than Others

https://www.cnn.com/2026/06/17/health/addictive-ultraprocessed-foods-wellness
1•jakzurr•13m ago•1 comments

A generic tragedy: Why PHP's Generics vote failed

https://tempestphp.com/blog/a-generic-tragedy
2•nvahalik•13m ago•0 comments

Sixty percent of US consumers say 'AI' in brand messaging is a turnoff

https://wpvip.com/future-of-the-web-2026/
14•thm•14m ago•1 comments

Pandas for Reproducible Data Analysis

https://arxiv.org/abs/2606.14924v1[pdf]
1•runningmike•20m ago•1 comments

PHP Through a Screen Reader: Small Syntax Choices That Matter

https://thephp.foundation/blog/2026/06/16/php-through-a-screen-reader-small-syntax-choices-that-m...
2•MrVandemar•20m ago•0 comments

TikTok Shows 3x More AI Slop Than YouTube, Report Finds

https://www.searchenginejournal.com/tiktok-shows-3x-more-ai-slop-than-youtube-report-finds/579521/
4•thm•20m ago•0 comments

MicroUI – A tiny, portable, immediate-mode UI library written in ANSI C

https://github.com/rxi/microui
2•peter_d_sherman•21m ago•1 comments

We Need to Start Planning Beyond Leo

5•NahumMartinez•21m ago•0 comments

Snap Smart Glasses

https://www.specs.com/smart-glasses/specs-27
1•hmokiguess•23m ago•0 comments

Compliance by Design: How Document Management Systems Reduce Regulatory Risk

https://resources.edc.ae/insights/compliance-by-design-how-document-management-systems-reduce-reg...
1•edcxae•23m ago•0 comments

IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reuse

https://github.com/THUDM/IndexCache
2•teleforce•24m ago•1 comments