News for hackers. Stuff that matters.
Re:RFC 10008: The new HTTP Query Method by cryptonym on Wednesday June 17, 2026 @09:02AM (#48569916)
Your link doesn't say URIs are length-limited
Re:RFC 10008: The new HTTP Query Method by Draiken on Wednesday June 17, 2026 @09:10AM (#48570024)
I'm guessing you never hit this issue then, but it's a real issue. Whether or not it's in the RFC as a hard limit it doesn't matter, no HTTP server will allow unlimited sized URIs.

You simply can't base64 large payloads and you're stuck with workarounds.

Re:RFC 10008: The new HTTP Query Method by cryptonym on Wednesday June 17, 2026 @09:20AM (#48570166)
You are guessing wrong. Thanks, I know specific implementation will come with their limits. This will equally apply to QUERY body size and caching strategy.

Are we seriously ok with linking the RFC as source while providing a statement that doesn't match? RFC does matter.

Re:RFC 10008: The new HTTP Query Method by ralferoo on Wednesday June 17, 2026 @10:24AM (#48570995)
The RFC does say "It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements."

One can infer from the RFC that you can reasonably expect many implementations to fail beyond 8000 characters, and that there are no guarantees up to that either.

True, the RFC doesn't specify a limit, but it does clearly indicate that it's not unbounded, nor should you expect it to be.

Re:RFC 10008: The new HTTP Query Method by drdexebtjl on Wednesday June 17, 2026 @04:37PM (#48576520)
This RFC (10008) does not require caching to be implemented at all, so it would make no sense to make a recommendation here for what is a reasonable limit to expect caching to work.
Re:RFC 10008: The new HTTP Query Method by layer8 on Wednesday June 17, 2026 @03:50PM (#48575891)
They are in the sense that the recommended supported length is only 8000 bytes. There are no such specified length recommendations for HTTP body size.
Re:RFC 10008: The new HTTP Query Method by cryptonym on Thursday June 18, 2026 @02:49AM (#48581682)
Recommended supported length is at least 8k.

Of course I don't advocate oversize URLs. That's a point of RFC10008.

Let's say we build a service for image transformation or image information extraction. Get isn't practical. QUERY with image as body could be a valid usage, regardless of caching. It conveys information that request is idempotent and can be retried with no impact on data, contrary to POST. If your http client is configured to support this, it can potentially improve reliability.